Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #970240

    I have a Layerslider with just one video that’s set to autoplay on the homepage. It works fine in Safari and Firefox but in Chrome it’s not playing or sizing correctly. I’m getting two errors:

    Error 1:
    Uncaught TypeError: Cannot read property ‘ready’ of undefined
    at l (slideshow-video.js?ver=4.9.6:527)

    Error 2:
    [AVIA-LOG] Fallback Video Trigger “vimeo”:

    n.fn.init [li.av-video-slide.av-video-service-vimeo.av-hide-video-controls.av-mute-video.av-loop-video.av-singl…, context: li.av-video-slide.av-video-service-vimeo.av-hide-video-controls.av-mute-video.av-loop-video.av-singl…]
    $video
    :
    n.fn.init [div#player_223_1470608494_595702490.av_vimeo_frame, context: div#player_223_1470608494_595702490.av_vimeo_frame]
    eventsBound
    :
    true
    fallback
    :
    false
    isMobile
    :
    false
    options
    :
    {loop: true, mute: 1, controls: “disabled”, events: “play pause mute unmute loop toggle reset unload”, videoRatio: 3.48837209302, …}
    player
    :
    init {element: div#player_223_1470608494_595702490.av_vimeo_frame}
    playing
    :
    false
    pp
    :
    {active: false, to1: “”, to2: “”, set: ƒ, attach: ƒ, …}
    type
    :
    “vimeo”
    videoElement
    :
    div#player_223_1470608494_595702490.av_vimeo_frame
    __proto__
    :
    Object
    slideshow-video.js?ver=4.9.6:527 Uncaught TypeError: Cannot read property ‘postMessage’ of undefined
    at g (slideshow-video.js?ver=4.9.6:527)
    at init.api (slideshow-video.js?ver=4.9.6:528)
    at $.AviaVideoAPI._vimeo_mute (slideshow-video.js?ver=4.9.6:385)
    at $.AviaVideoAPI.api (slideshow-video.js?ver=4.9.6:307)
    at $.AviaVideoAPI._bindEvents (slideshow-video.js?ver=4.9.6:272)
    at HTMLLIElement.<anonymous> (slideshow-video.js?ver=4.9.6:178)
    at HTMLLIElement.dispatch (jquery.js?ver=1.12.4:3)
    at HTMLLIElement.r.handle (jquery.js?ver=1.12.4:3)
    at Object.trigger (jquery.js?ver=1.12.4:3)
    at HTMLLIElement.<anonymous> (jquery.js?ver=1.12.4:3)

    You can view the demo here:

    Can you tell me what’s going wrong?

    #971488

    Hey calebcuster,

    Thank you for using Enfold.

    The video doesn’t autoplay (possibly due to chrome’s autoplay policy) but I don’t see the script errors in the console. It plays when I clicked on it. Please note that vimeo requires the “autopause” parameter to be set to “0” when there are multiple videos in the same page.

    // https://help.vimeo.com/hc/en-us/articles/115004485728-Autoplaying-and-looping-embedded-videos

    Please take note of the “Autoplay Restrictions”. You may need to use self hosted videos or upload the other on youtube.

    Best regards,
    Ismael

    #971772

    I was able to get it to work in all browsers by just setting the volume to 0 in layer slider. I couldn’t get it to autoplay at all using YouTube. But I think no volume is ok.

    #972110

    Hi,

    Great, glad you found a solution. Please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.