-
AuthorPosts
-
abcorp Friend
abcorp
- Join date:
- January 2013
- Posts:
- 15
- Downloads:
- 69
- Uploads:
- 2
- Thanks:
- 1
- Thanked:
- 5 times in 1 posts
January 20, 2014 at 12:57 pm #193901Hi,
Is there any way to add a button in the ja appolio Template vide so that some user can stop or allow sound while video is playing?
Thanks
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
January 21, 2014 at 8:44 am #519223Steps below will help to add control option on video:
+ Go to Admin site -> Site -> Global Configuration -> Default Editor set Editor None
+ Go to Module Manager -> Find Video – Welcome module -> and change script in content
Change
<div class="video-shuffle-wrap">
<div class="video-shuffle" data-js-view="video-shuffle">
<div class="mask"> </div>
<video loop autoplay style="width: 100%; height: auto;" poster="images/stories/joomla/poster.png">
<source src="http://static.joomlart.com/video/ja_appolio/welcome.mp4" type="video/mp4" />
<source src="images/stories/joomla/welcome.webmhd.webm" type="video/webm" />
<div class="video-fallback" style="padding-bottom: 56.25%">
<object type="application/x-shockwave-flash" data="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf" 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':'http://static.joomlart.com/video/ja_appolio/welcome.mp4','autoPlay':true, 'controls': null}]}" />
<img alt="Sample Video" src="images/stories/joomla/poster.png" width="100%" height="auto" title="No video playback capabilities, please download the video below" />
</object>
</div>
</video>
</div>
</div>To
<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/poster.png">
<source src="http://static.joomlart.com/video/ja_appolio/welcome.mp4" type="video/mp4" />
<source src="images/stories/joomla/welcome.webmhd.webm" type="video/webm" />
<div class="video-fallback" style="padding-bottom: 56.25%">
<object type="application/x-shockwave-flash" data="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf" 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':'http://static.joomlart.com/video/ja_appolio/welcome.mp4','autoPlay':true, 'controls': null}]}" />
<img alt="Sample Video" src="images/stories/joomla/poster.png" width="100%" height="auto" title="No video playback capabilities, please download the video below" />
</object>
</div>
</video>
</div>
</div>
-
AuthorPosts
This topic contains 2 replies, has 2 voices, and was last updated by Ninja Lead 10 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum