Proteopedia:Cookbook: Difference between revisions
Eric Martz (talk | contribs) |
Eric Martz (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 75: | Line 75: | ||
==Movies mp4== | ==Movies mp4== | ||
Click the ''Play'' icon below to start the sample movie.<br> | Click the ''Play'' icon below to start the sample movie.<br> | ||
<html5media height="300" width="300">/mp4/Resolution_holton.mp4</html5media> | <html5media height="300" width="300" loop>/mp4/Resolution_holton.mp4</html5media> | ||
{{Clear}} | {{Clear}} | ||
<pre><html5media height="300" width="300">/mp4/file.mp4</html5media></pre> | <pre><html5media height="300" width="300" loop>/mp4/file.mp4</html5media></pre> | ||
Shows the movie with the with a width of 300 and a height of 300 pixels. | Shows the movie with the with a width of 300 and a height of 300 pixels. Including "loop" makes the movie loop back to the beginning while playing. | ||
A movie controller is also displayed at the bottom beneath the movie. If the height is too small, the controller will not be displayed. Clicking on the movie stops playing, and | A movie controller is also displayed at the bottom beneath the movie. If the height is too small, the controller will not be displayed. Clicking on the movie stops playing, and clicking again resumes playing in both Mac OS X and Windows. This is | ||
useful in case the controller is not displayed ("controller=false"). | useful in case the controller is not displayed ("controller=false"). | ||