Keyword

can i stop the video looping?

  • ktuttlies
  • ktuttlies's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 months ago #54534 by ktuttlies
can i stop the video looping? was created by ktuttlies
Hi,

i want to play a short video (swf) only onr time aon the startpage of a site.
Where can i set the parameter to stop loop/repeat?
Any help will be great.

thanks in advance, Klaus
.

i installed Allvideos in a joomla3 site

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 2 months ago #54535 by Yiota
Replied by Yiota on topic Re: can i stop the video looping?
A link to your video page would be helpful.

Please Log in or Create an account to join the conversation.

  • ktuttlies
  • ktuttlies's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 months ago #54536 by ktuttlies
Replied by ktuttlies on topic Re: can i stop the video looping?
Thanks for your quick reply.

The site is in progress and not online till now.
If you want, we can make a teamviewer session.

best regards from Munich.
Klaus

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 2 months ago #54537 by Yiota
Replied by Yiota on topic Re: can i stop the video looping?
I'm sorry I missed that your video is .swf format.
Does it play only once when you see it alone?

Please Log in or Create an account to join the conversation.

  • ktuttlies
  • ktuttlies's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 months ago #54538 by ktuttlies
Replied by ktuttlies on topic Re: can i stop the video looping?
in IE it played in a loop.

best regards, Klaus

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 2 months ago #54539 by Yiota
Replied by Yiota on topic Re: can i stop the video looping?
Does your flash video have a stop(); in the last keyframe?

Please Log in or Create an account to join the conversation.

  • ktuttlies
  • ktuttlies's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 months ago #54540 by ktuttlies
Replied by ktuttlies on topic Re: can i stop the video looping?
i don't know - the video is from the company i make the website for.
Can i put the stop afterwards into an existing swf file?

best regards
Klaus

Please Log in or Create an account to join the conversation.

  • ktuttlies
  • ktuttlies's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 months ago #54541 by ktuttlies
Replied by ktuttlies on topic Re: can i stop the video looping?
if i put this code on my page, i can force the video to stop after one time playing.
If i can set the param "loop" to false in the start code for Allvideo, it should work.

best regards
Klaus

CODE:
<div id="contentstart">
<a href="wohnungsbau.html">
<object data="images/democontent/videos/Opener01.swf" type="application/x-shockwave-flash" width="1000" height="563">
  <param name="movie" value="movies/Opener01.swf">
  <param name="quality" value="high">
  <param name="scale" value="exactfit">
  <param name="menu" value="true">
  <param name="bgcolor" value="false">
  <param name="play" value="true" />
  <param name="loop" value="false" />
      </object>
</a>
</div>

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 2 months ago #54542 by Yiota
Replied by Yiota on topic Re: can i stop the video looping?
You will have to modify the plugin in order to add this extra param for the swf file.
You need to locate the file sources.php file located in plugins/content/jw_allvideos/jw_allvideos/includes/

around line 243 there is the code for the swf

/* SWF */
"swf" => "
<object type=\"application/x-shockwave-flash\" style=\"width:{WIDTH}px;height:{HEIGHT}px;\" data=\"{SITEURL}/{FOLDER}/{SOURCE}.swf\">
<param name=\"movie\" value=\"{SITEURL}/{FOLDER}/{SOURCE}.swf\" />
<param name=\"quality\" value=\"high\" />
<param name=\"wmode\" value=\"{PLAYER_TRANSPARENCY}\" />
<param name=\"bgcolor\" value=\"{PLAYER_BACKGROUND}\" />
<param name=\"autoplay\" value=\"{PLAYER_AUTOPLAY}\" />
</object>
",

just add your extra param there.

Remember that this will apply to all of your swf videos in this site.
Also, remember to get a backup of the file when you upgrade to a newer version of the plugin.

Please Log in or Create an account to join the conversation.

  • ktuttlies
  • ktuttlies's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 months ago #54543 by ktuttlies
Replied by ktuttlies on topic Re: can i stop the video looping?
thanks Yiota - it works.
Now i know what a hero member is...  ;-)

best regards from Munich
Klaus

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 2 months ago #54544 by Yiota
Replied by Yiota on topic Re: can i stop the video looping?
You are welcome Klaus :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum