kcgame — 2013-04-06T07:17:02-04:00 — #1
Hi, I would like to embed my video in my website and at the same time, want to hide the player control (especially the time frame bar so that viewers cannot fast forward.) Anyone has ideas on how to achieve this? Appreciate any help, thank you.
ralphm — 2013-04-06T08:09:09-04:00 — #2
The easiest way might be to use the HTML5 <video> element, and just not include any controls, but rather just "autoplay" (if you really want to annoy your users ):
<video autoplay poster="video.jpg">
<source src="video.mp4" type='video/mp4'>
<source src="video.webm" type='video/webm'>
A better option would be to use a custom script with the video, like video.js, which will offer you more options over which controls to include and which to exclude.
kcgame — 2013-04-06T20:33:58-04:00 — #3
Thank you so much!
As I'm using wordpress, do you know is there any plugins that has this feature?
ralphm — 2013-04-06T21:30:01-04:00 — #4
Personally, I don't like plugins, but if you google "html5 video wordpress plugin" there seem to be lots of useful results.
kcgame — 2013-04-06T23:18:21-04:00 — #5
pullo — 2013-04-07T01:47:46-04:00 — #6
I use the VideoJS plugin. It's stable and updated regularly. I can recommend it.
It's also quite easy to make it responsive if this is important for you.
kcgame — 2013-04-07T01:58:45-04:00 — #7
Can I embed youtube video via videoJS Plugin? Thank you for your comment!
pullo — 2013-04-07T02:02:54-04:00 — #8
Probably, as you have to enter the location of the video file (so why not YouTube).
However, if this is what you want to do, there are better tools for the job:
wwb_99 — 2013-04-07T12:20:06-04:00 — #9
As of wordpress 3.6 there will be built in media support. 3.6 isn't horribly far off -- it is already in beta.
For youtube videos you can probably tweak the player a bit using the embed specifications. Check their developer site for details.
pullo — 2013-04-07T14:03:38-04:00 — #10
Indeed you can. You can set
playerVars in the second parameter of