SVG on video load
Tried with default theme: No
Tried with all other plugins disabled: No
Browser version: All
I have 2 questions:
- Where can I change the loading image on the video
- Can I add SVG while loading the video with custom background color?
Nico Answered question
By loading image you mean the thumbnail you have to click to play? Did you read the documentation? You need to add thumbnail=”http://example.com/img/image.svg” or thumbnail=”1234″ where 1234 needs to be replaced with the ID the image has in your WP Media gallery. I never tried it with an SVG but it should work as it’s just loaded in an img tag. Not sure what you mean by custom background color but would have to make it part of the SVG. Note that WP by default does not support SVG uploads but there are plugins that enable it.
Nico Edited comment
So you mean the animation from the providers’ player like YouTube, Vimeo … ? You can not change that.
I am talking about the circular animation. When we click on the play button then video starts playing but meanwhile there is a circular animation while video gets load or download.
I want to replace that circular animation with an SVG graphic I have made.