css - How to change the settings of a video?

Closed. This question is off-topic. It is not currently accepting answers.Your question should be specific to WordPress.

Closed. This question is off-topic. It is not currently accepting answers.

Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.

Closed 5 years ago.

Improve this question

I'm having real trouble with a video I have placed on my wordpress site. It's a one page site with the divi theme, and I currently don't have any type of video plugin activated. The video is an offline mp4 file (NOT a youtube video/link) that I have uploaded from my computer onto the webpage (NOT a blog).

There's several things I need the video to do:

  1. Starting playing automatically WITHOUT the user having to click any sort of play button.

  2. Play on a continuous loop

  3. Hide the progress bar (including sound and full screen options) at the bottom so it's just the playing video we can see.

My coding skills are very minimal, and I can't seem to find & edit the HTML. I've only come across CSS. Anyone who can help me with this problem, I would very much appreciate it.

Thanks.

Closed. This question is off-topic. It is not currently accepting answers.

Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.

Closed 5 years ago.

Improve this question

I'm having real trouble with a video I have placed on my wordpress site. It's a one page site with the divi theme, and I currently don't have any type of video plugin activated. The video is an offline mp4 file (NOT a youtube video/link) that I have uploaded from my computer onto the webpage (NOT a blog).

There's several things I need the video to do:

  1. Starting playing automatically WITHOUT the user having to click any sort of play button.

  2. Play on a continuous loop

  3. Hide the progress bar (including sound and full screen options) at the bottom so it's just the playing video we can see.

My coding skills are very minimal, and I can't seem to find & edit the HTML. I've only come across CSS. Anyone who can help me with this problem, I would very much appreciate it.

Thanks.

Share Improve this question asked Sep 4, 2019 at 11:19 Georgia BarberGeorgia Barber 1 4
  • How did you add your video? Is it in your themes code? Added via Divi editor? Inserted in the normal WP post editor via the media library? It's not clear what you mean when you say you added the video – Tom J Nowell Commented Sep 4, 2019 at 14:55
  • Closed as this is a Divi theme builder question – Tom J Nowell Commented Sep 4, 2019 at 15:26
  • how do I closed a question? – Georgia Barber Commented Sep 4, 2019 at 15:28
  • You need Divi specific expertise for your problem, ask in the Divi community they'll know more about how to do this – Tom J Nowell Commented Sep 4, 2019 at 21:38
Add a comment  | 

1 Answer 1

Reset to default 1

My coding skills are very minimal, and I can't seem to find & edit the HTML.

This is because video embeds are usually implemented using a shortcode, there is no HTML to edit, it's generated on the fly

Starting playing automatically WITHOUT the user having to click any sort of play button.

yes and no... you can tell the shortcode to specify autoplay like this:

[video ... autoplay="on"]

But the browser will probably prevent this unless you meet a number of restrictions. For example, having no sound. Different browsers may have different rules.

Note that autoplaying will use mobile bandwidth, and that the browser or device may be unable to play the video due to its format.

Play on a continuous loop

Yes, add the loop parameter:

https://wordpress/support/article/video-shortcode/

[video ... loop="on"]

Hide the progress bar (including sound and full screen options) at the bottom so it's just the playing video we can see.

This can be done using CSS alone, just inspect the parts you don't want and write a CSS rule with display: none;

Note that Divi may be providing its own video player, consult the divi docs ( divi support is offtopic here ) if that's the case

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745185937a4615638.html

相关推荐

  • css - How to change the settings of a video?

    Closed. This question is off-topic. It is not currently accepting answers.Your question should be specific to WordPress.

    16小时前
    50

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信