On Wed, May 28, 2014 at 12:22 PM, Pierre-Andre M. <lists@ruby-forum.com> wrote:
> I tried copy/pasting a sample video.js script straight from tutorial in
> a js file titled play_time.js in /assets/javascript that looks like
> this:
>
> <!doctype html>
> <head>
> <title>Video.JS Example</title>
> <link href="//vjs.zencdn.net/4.1/video-js.css" rel="stylesheet">
> <script src="//vjs.zencdn.net/4.1/video.js"></script>
> </head>
> <body>
> <div style="width:700px;margin:0px auto;">
> <video id="example_video_1" class="video-js
> vjs-default-skin"
> controls preload="auto" width="640" height="264"
> poster="http://video-js.zencoder.com/oceans-clip.png"
> data-setup='{"controls":true}'>
> <source
> src="http://video-js.zencoder.com/oceans-clip.mp4" type='video/mp4' />
> <source
> src="http://video-js.zencoder.com/oceans-clip.webm" type='video/webm' />
> <source
> src="http://video-js.zencoder.com/oceans-clip.ogv" type='video/ogg' />
> </video>
> </div>
> </body>
Bad news: that's not javascript :-)
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yA92Yhvy7D%2BdvO6nyLq2rW%3Dq1qyq40tRyV1gWPzOuovnw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment