Support » Plugin: JW Player for Flash & HTML5 Video » [Plugin: JW Player Plugin for WordPress] Using JW Player Thumbnails

  • When I add external media (say from youtube) i see that jwplayer is aware of the video’s URL. but where is this information stored? when i insert the jwplayer into my post and save there is a custom field for the thumbnail src but it is empty.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author JW Player

    (@longtail-video)

    @helgatheviking,

    Media in WordPress is saved in the wp_posts table with the type set to attachment. Additional metadata is saved in the wp_postmeta table. The thumbnail url is saved in the wp_postmeta table. The meta_key is jwplayermodule_thumbnail_url.

    Thanks.

    thanks for the reply. i was aware that the jw thumbnail was being saved as post meta for the attachment, but i was/am stuck on how to grab this thumbnail while in a loop… so that the jw_thumb is the thumbnail for the post the jw player is inserted into in the way that the featured image / the_post_thumbnail() works.

    Plugin Author JW Player

    (@longtail-video)

    I’m not completely sure what you’re looping through but if you happen to know the mediaid at the time, that is actually the id for the attachment. Using this id you can grab the thumbnail from the post_meta table.

    Hope that helps.

    If I change an image in the Media Library (for instance cropping) the newly saved image can’t be selected as movie thumbnail by the JW Player. It still shows the original (uncropped) image.

    Plugin Author JW Player

    (@longtail-video)

    @close,

    Hmm, I’ll have to take a look at this. I believe it’s probably a result of me pointing directly to the original since WordPress likely creates a new file.

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: JW Player Plugin for WordPress] Using JW Player Thumbnails’ is closed to new replies.