Skip to content

Commit

Permalink
MDL-25473 mediaplayer - prevent embedded videos from looping
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnfwlr committed Dec 10, 2013
1 parent c36a240 commit c476e67
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/medialib.php
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ public function embed($urls, $name, $width, $height, $options) {
<param name="pluginspage" value="http://www.apple.com/quicktime/download/" />
<param name="src" value="$url" />
<param name="controller" value="true" />
<param name="loop" value="true" />
<param name="loop" value="false" />
<param name="autoplay" value="false" />
<param name="autostart" value="false" />
<param name="scale" value="aspect" />
Expand All @@ -826,7 +826,7 @@ public function embed($urls, $name, $width, $height, $options) {
<param name="src" value="$url" />
<param name="pluginurl" value="http://www.apple.com/quicktime/download/" />
<param name="controller" value="true" />
<param name="loop" value="true" />
<param name="loop" value="false" />
<param name="autoplay" value="false" />
<param name="autostart" value="false" />
<param name="scale" value="aspect" />
Expand Down Expand Up @@ -930,7 +930,7 @@ public function embed($urls, $name, $width, $height, $options) {
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="$width" height="$height">
<param name="movie" value="$url" />
<param name="autoplay" value="true" />
<param name="loop" value="true" />
<param name="loop" value="false" />
<param name="controller" value="true" />
<param name="scale" value="aspect" />
<param name="base" value="." />
Expand All @@ -939,7 +939,7 @@ public function embed($urls, $name, $width, $height, $options) {
<object type="application/x-shockwave-flash" data="$url" width="$width" height="$height">
<param name="controller" value="true" />
<param name="autoplay" value="true" />
<param name="loop" value="true" />
<param name="loop" value="false" />
<param name="scale" value="aspect" />
<param name="base" value="." />
<param name="allowscriptaccess" value="never" />
Expand Down

0 comments on commit c476e67

Please sign in to comment.