Can we change the color of the HTML5...

User 2695940 Photo


Registered User
148 posts

Just wondering if anyone knows how to change to default color of the play symbol for the HTML5 video element. Not a real big deal but thought I would ask one of the experts here.

Thanks!
John Ferguson
Website Design and Development
www.jf1.co
User 2699991 Photo


Registered User
4,782 posts
Online Now

I maybe wrong here but I don't think the player exists in SD, it's connected via a link, somewhere that even that benzos chappie can't reach.
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS
Contact Me For One To One Assistance
https://alphathemes.coffeecup.com/forms … an%281%29/
User 2885740 Photo


Registered User
60 posts

The controls on a video element are styled by the web browser via its user agent style sheet. Each browser has its own way of styling. So, if you want to change the style of the video-controls you have to build your own custom controls. On MDN is an example on how to do that.
In the attached sd-file you find an implementation of this example.
Take care
Attachments:
User 2695940 Photo


Registered User
148 posts

Thanks Wayan and René,

Appreciate your responses. The client decided it was not an issue so problem solved.

All the best,
John
John Ferguson
Website Design and Development
www.jf1.co

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.