From Grand Theft Wiki
Revision as of 09:17, 14 September 2013 by Gboyers (talk | contribs) (+poster)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Embed a html5 video url. Parameters are:

  • Source (full URL)
  • Type (mp4/webm/ogg).
  • Height and Width (end with px)
  • ID (integer 123 will become #VidID123)

Created by User:Gboyers

<link href="http://vjs.zencdn.net/4.1/video-js.css" rel="stylesheet"> <script src="http://vjs.zencdn.net/4.1/video.js"></script>

<video id="VidID" class="video-js vjs-default-skin"

 controls preload="auto" width="" height=""
 data-setup='{ "controls": true, "autoplay": false, "preload": "auto" }'>
<source src="" type='video/' />