Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-25473 mediaplayer - prevent embedded videos from looping

  • Loading branch information...
commit de1982ca05744cde634d79c979922db4d351239b 1 parent 98f4a31
@jsnfwlr jsnfwlr authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/medialib.php
View
8 lib/medialib.php
@@ -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" />
@@ -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" />
@@ -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="." />
@@ -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" />
Please sign in to comment.
Something went wrong with that request. Please try again.