Closed nsantiago2719 closed 9 years ago
Dear Silvercrow27,
Probably a good idea to ensure this is not a viewing (browser, computer, flash) issue. Are you able to view the video at the bottom of this page? http://swanksports.com/ It says it's a live feed, but it isn't. If that works, I recommend making a static HTML page with the view source in that page and making sure your video is going to work with it.
If the video and your viewing capabilities are not the issue, then I'd look at the HTML that is being produced by videojs_rails. As far as what this gem is doing, it's integrating videojs with Rails apps, which is to say, it just writes the HTML for you. In the end, you have to make sure that the video.js code, your viewing capabilities, and the video you're trying to watch are not the issue.
Cheers, R
Sorry for a late reply. By the way, yes I can view the video. Ok ill try what you just said .
Cheers,
I guess I solved this by getting the video-js.swf file on the javascript directory.
As reference if anyone faces the same issue - after specifying the height the video was displayed:
example:
= videojs_rails sources: { mp4: "YOUR_PATH_TO_VIDEO.mp4" }, setup: "{}", controls: false, width:"100%", height:"50%"
Hello. I have implemented the gem as you said. But when I tried to view one theirs no video that is showing just a sound. But it is working in full screen.