Closed abhishek77in closed 9 years ago
Looking into the code, it looks like those settings are hard coded and not configurable yet:
:+1: for additional configuration here.
I just merged my changes. Now you could set data-setup
and controls
using this snippet:
<%= videojs_rails sources: { mp4: "url", webm: "url", ogg: "url" },
controls: false,
setup => '{ "controls": true, "autoplay": false, "preload": false }',
poster: image_path("url") %>
Great :+1:
I am trying -
Options taken from video js readme
I tried different possible combinations but it doesn't seem to work. I hope its possible to configure these values.