-
AuthorPosts
-
the1michaeljones Friend
the1michaeljones
- Join date:
- April 2011
- Posts:
- 35
- Downloads:
- 24
- Uploads:
- 5
- Thanks:
- 5
June 19, 2015 at 4:32 pm #207622In 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 22, 2015 at 8:48 am #575014Hi
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 Friendthe1michaeljones
- Join date:
- April 2011
- Posts:
- 35
- Downloads:
- 24
- Uploads:
- 5
- Thanks:
- 5
June 22, 2015 at 5:03 pm #575090Well, can JW player work with your template the same way as Flowplayer?
the1michaeljones Friendthe1michaeljones
- Join date:
- April 2011
- Posts:
- 35
- Downloads:
- 24
- Uploads:
- 5
- Thanks:
- 5
June 22, 2015 at 5:03 pm #641434Well, can JW player work with your template the same way as Flowplayer?
the1michaeljones Friendthe1michaeljones
- Join date:
- April 2011
- Posts:
- 35
- Downloads:
- 24
- Uploads:
- 5
- Thanks:
- 5
June 22, 2015 at 5:03 pm #740096Well, can JW player work with your template the same way as Flowplayer?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 23, 2015 at 6:50 am #575199I’ve tried JW player yet, you can give it a try.
the1michaeljones Friendthe1michaeljones
- Join date:
- April 2011
- Posts:
- 35
- Downloads:
- 24
- Uploads:
- 5
- Thanks:
- 5
June 26, 2015 at 4:05 pm #575651Where are the Flowplayer files on the backend? What folder might they be in?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 29, 2015 at 1:25 am #575736There 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 29, 2015 at 1:25 am #642065There 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 29, 2015 at 1:25 am #740725There 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)
-
AuthorPosts
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