Is there a way of putting an image in the shortcode for a video with your shortcodes? I found something at longtailvideo.com but it talks about putting a script after a div. I removed your shortcode and tried this in a widget on the sidebar, but that didn’t work.
Insert a <div> element with a unique id in the body of your page, at the location you want the player to appear:
<div id=”myElement”>Loading the player …</div>
Right below it, insert a script that invokes the JW Player setup() call on your <div>:
The last code block is where the heavy lifting happens. The script tells the JW Player library to setup a player instance over the DOM element with ID container. Inside the setup call, the script provides a list of options for configuring the player.
I really would like to do this without installing the JW Player plugin…if possible.
So far I am finding your plugin very helpful…though still lots to learn.
Thank you for sharing!
you can try new version of the plugin, that is already available on GitHub. New version includes new media player. With this player you can easily select poster image.
Don’t forget to deactivate old version before installing new.
This version will be available at wordpress.org in few weeks.
Thanks for sharing your time to respond.
I tried to download but kept getting errors, even right clicking.
Looking forward to exploring this plugin in depth.
Did you tried GitHub version?
Can you show me the errors?
- The topic ‘Image preloaded for JW Player?’ is closed to new replies.