Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • the1michaeljones Friend
    #207622

    In the welcome video, I have the video playing with the player controls and everything working accordingly. My question how can I get the autoplay to play only once for the video, so that the video doesn’t start playing everytime someone switches pages or goes to the home page.

    This is the code Im currently using:
    <div class=”video-shuffle-wrap”>
    <div class=”video-shuffle” data-js-view=”video-shuffle”>
    <video controls style=”width: 100%; height: auto;” poster=”images/stories/joomla/bw9515.png” autoplay=”autoplay”>
    <source src=”images/stories/joomla/welcome(sd)5.mp4″ type=”video/mp4″ />
    <div class=”video-fallback” style=”padding-bottom: 56.25%;”><object data=”http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf” type=”application/x-shockwave-flash” width=”100%” height=”100%”><param name=”movie” value=”http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf” /><param name=”allowFullScreen” value=”true” /><param name=”wmode” value=”transparent” /><param name=”flashVars” value=”config={‘playlist’:{‘url’:’images/stories/joomla/welcome.mp4′ type=” />
    <img title=”No video playback capabilities, please download the video below” src=”images/stories/joomla/1ststroll.png” alt=”Sample Video” width=”100%” height=”auto” />
    </object></div>
    </video></div>
    </div>
    <p><input id=”mac_address” type=”hidden” value=”” /></p>

    I guess I was wondering if you all knew any simplecode so that it would control cookies for people that remained on the site itself. I was able to find examples for youtube players and also for jw player other places online. However I couldn’t find a way for coding for a cookie for Flowplayer for the player to autoplay once. I know it can be done on other players, so I figured it should be able to be done on Flowplayer.
    Here is the example for JW Player:

    <script>
    if(document.cookie.indexOf(“jwplayerAutoStart”) == -1) {
    document.cookie = “jwplayerAutoStart=1”;
    jwplayer().play();
    }
    </script>

    So, my questions are, is there a way to apply a small cookie script for Flowplayer similar to the JW Player?
    What if anything can I change in my current script to appropriately run the cookie. Any help or assistance is appreciated. Thanks.

    Any help or assistance is most definitely appreciated. Thanks.

    Saguaros Moderator
    #575014

    Hi

    Thought that this question related much to Flowplayer than our template, pls try with documentation from Flowplayer or post a same thread into their forum.

    the1michaeljones Friend
    #575090

    Well, can JW player work with your template the same way as Flowplayer?

    the1michaeljones Friend
    #641434

    Well, can JW player work with your template the same way as Flowplayer?

    the1michaeljones Friend
    #740096

    Well, can JW player work with your template the same way as Flowplayer?

    Saguaros Moderator
    #575199

    I’ve tried JW player yet, you can give it a try.

    the1michaeljones Friend
    #575651

    Where are the Flowplayer files on the backend? What folder might they be in?

    Saguaros Moderator
    #575736

    There is no file/folder for this player on your site. As you can see that we embed the code to display this player via module (as in your first post)

    Saguaros Moderator
    #642065

    There is no file/folder for this player on your site. As you can see that we embed the code to display this player via module (as in your first post)

    Saguaros Moderator
    #740725

    There is no file/folder for this player on your site. As you can see that we embed the code to display this player via module (as in your first post)

Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 10 replies, has 2 voices, and was last updated by  Saguaros 9 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum