Closed simmogs closed 13 years ago
Added a readme.
Try adding a width
<%= videojs_rails :source=> path, :width=>"400px" %>
That was quick, thanks!
Still no joy though. I added a width and checked the readme to make sure I'd followed the other steps.
it is an html5 video player, what browser (&version) are you using? try adding modernizer.js in the head
http://www.modernizr.com/download/ (configure with video html5 )
Sorry for the delay. It's Firefox 7.0.1. I've also tested on the latest Safari, which does drop back to Flash, unlike Firefox which does nothing. I'll try adding modernizr and let you know how I get on.
Got it!
I had to put the following bit of code above the call to videojs_rails. Everything worked fine after that. It was in the getting started guide - http://videojs.com/#getting-started. I should read the manual more.
:javascript
VideoJS.setupAllWhenReady();
(note that I'm using HAML).
Great gem, thanks Sean.
I should add that I had to include a height as well as a width before it would work. Cheers, Graeme
Thanks.
Hi there,
It's a great idea for a gem, but I'm struggling to get it working. Any chance of adding basic usage instructions to the readme?
From looking at the code, I think I should be doing this....
But it doesn't work :-( All the HTML is there, but the video doesn't play. I know the URL is ok, because it appears underneath as a working download link.
Many thanks, Graeme