Okay
  Public Ticket #2044996
1) Video doesn't autoplay on mobile devices 2) The view album section doesn't display album on single page preview
Closed

Comments

  • kenalderton started the conversation

    1)

    The video doesn't auto play on mobile view even though on line 99 in index-video.html there is the following code:
            <div class="playerVideo" data-property="{videoURL:'HFpou6izBQg',showControls:false,containment:'self',autoPlay:true, mute:false, startAt:0,opacity:1,ratio:'4/3', addRaster:true}"> <!-- Slider -->

    console trows error:

    index-video.html:1042 GET file://www.google-analytics.com/analytics.js net::ERR_FILE_NOT_FOUND
    (anonymous) @ index-video.html:1042
    (anonymous) @ index-video.html:1042
    index-video.html:1 Refused to execute script from 'https://cdn.syndication.twimg.com/widgets/timelines/702067549920485376?&lang=en&callback=twitterFetcher.callback&suppress_response_codes=true&rnd=0.11471222043135398' because its MIME type ('') is not executable, and strict MIME type checking is enabled.

    ---------------
    Throws error when in mobile view:

    Refused to execute script from 'https://cdn.syndication.twimg.com/widgets/timelines/702067549920485376?&lang=en&callback=twitterFetcher.callback&suppress_response_codes=true&rnd=0.3790583106216643' because its MIME type ('') is not executable, and strict MIME type checking is enabled.
    index.html:959 GET file://www.google-analytics.com/analytics.js net::ERR_FILE_NOT_FOUND
    (anonymous) @ index.html:959
    (anonymous) @ index.html:959


    ---------------------------------------------------------------------------------------------------------------------

    2) The discography isn't displaying on a single page as shown on the demo's.


    and this error appears in the console when you click on 'View Album' in the electronic.html...

    audio.min.js:9 Uncaught TypeError: b.getAttribute is not a function
        at Object.newInstance (audio.min.js:9)
        at Object.create (audio.min.js:8)
        at HTMLDocument.<anonymous> (discography.js:44)
        at HTMLDocument.dispatch (jquery.js:3074)
        at HTMLDocument.elemData.handle (jquery.js:2750)
        at Object.trigger (jquery.js:2986)
        at done (jquery.js:8092)
        at callback (jquery.js:8598)
    albums section ----------------------------

  •  850
    Jelly replied

    Hello,

    1. This error comes from the Twitter section and not from the video. The thing with video background on mobiles is that browsers won't play it in most cases because of performance and/or battery limitations.

    Please add mobileFallbackImage to data-property. More info from https://github.com/pupunzi/jquery.mb.YTPlayer/wiki:

    mobileFallbackImage: absolute/path/to/image (string) The path to the fallback image in case of background video on mobile devices and the “useOnMobile” option is set to false;

    2. Could you please check if your template folder contains /discs folder with disc-01.html files?

    Best Regards,
    Jelly Team

  • SimDaSilAlv replied

    I'd like to know how did you solve the Discography issue (in Soundlab theme). When you clic "view album" nothing happens, even though I have the discs folder in my template.