jaapmarcus / mediaelement-wordpress

Mediaelement plugin for Wordpress
MIT License
2 stars 0 forks source link

Vast #1

Open WesleyCarnicl opened 1 year ago

WesleyCarnicl commented 1 year ago

Is it possible to add vast to the plugin.

jaapmarcus commented 1 year ago

Yes, it is possible..

Download the javascript / css and upload them to the wordpress folder

Add the full path of the .js and .css files to:

Screenshot 2023-06-04 at 23 57 09

And update:

Screenshot 2023-06-04 at 23 57 14

Please note I am using my own version and the version provided via Mediaelements have not been tested by my self... (And will never do)

jaapmarcus commented 1 year ago

Please note under advanced it need to be a valid json format...

WesleyCarnicl commented 1 year ago

In Wordpress I'm using a vast tag from my google ad manager

WesleyCarnicl commented 1 year ago

@jaapmarcus how would i get it to work in a post with a video

WesleyCarnicl commented 1 year ago

Yes, it is possible..

Download the javascript / css and upload them to the wordpress folder

Add the full path of the .js and .css files to:

Screenshot 2023-06-04 at 23 57 09

And update: Screenshot 2023-06-04 at 23 57 14

Please note I am using my own version and the version provided via Mediaelements have not been tested by my self... (And will never do)

Can you send me that code in the advanced tab pleases

jaapmarcus commented 1 year ago

{"vasttag":"https:\/\/vast.domain.com\/vast.xml"}

For example

Please note this depend on the plugin you use. I have written my own plugin that works on basic of ima...