Video transformation to hide controls
Is it possible to hide the controls on a video when just using the link to a Cloudinary video (for example: https://res.cloudinary.com/demo/video/upload/vc_vp9/race_road_car.webm)?
So, not embedding a video player, just using the link to the file in a browser?
-
Official comment
Hi Jeremy.
Thanks for getting in touch.
If you're linking to the video directly then the user's browser will most likely display the video controls.
If you're using a <video> tag instead of our player, you could opt to disable controls by leaving it out of the attributes. Effectively turning this:
<video width="320" controls>
<source src="https://res.cloudinary.com/demo/video/upload/vc_vp9/race_road_car.webm" type="video/webm">
</video>into this:
<video width="320" autoplay muted>
<source src="https://res.cloudinary.com/demo/video/upload/vc_vp9/race_road_car.webm" type="video/webm">
</video>I hope this helps. Please feel free to reply here if you have any further questions, or raise a support ticket if you'd prefer.
Thanks,
-DannyComment actions
Please sign in to leave a comment.
Comments
1 comment