eric.downing
Forum Replies Created
-
Forum: Plugins
In reply to: [Videopack] Videos Encoded But Not ListedThe issue was w3 total cache. After removing the W3 everything is working.
Forum: Plugins
In reply to: [Videopack] Videos Encoded But Not ListedI encoded the videos with your plugin. They are in the same upload folder, and they say “encoded” next to the other formats.
Example- 480p H.264 Encoding Complete
Delete Permanently - WEBM Encoding Complete
Delete<Permanently - OGV Encoding Complete
Delete Permanently
I do not see the new videos when I check the media page. I manually checked the folder and they were saved. Currently in the uploads/2013/03
Forum: Plugins
In reply to: [Videopack] Query Poster ImageIf your poster is in another position just change $matches[1] to whatever spot it’s in. Lets say the poster in the third spot then you would use.
<img src="<?php echo $matches[3];?>"/>Each “” in the shortcode is counted as 1 spot.
Forum: Plugins
In reply to: [Videopack] Query Poster ImageVideos from the older version may have been the issue.
I used the following code to get the image. My videos are in a custom post so my post_type is “videos”
global $wpdb; $posts = $wpdb->get_results("SELECT ID, post_title, post_content FROM $wpdb->posts WHERE post_type = 'videos' AND post_status = 'publish' ORDER BY ID DESC", ARRAY_A); foreach($posts as $post) { $pat = '/\"([^\"]*?)\"/'; // text between quotes excluding quotes preg_match($pat, $post[post_content], $matches); ?> <img src="<?php echo $matches[1];?>"/> <?php } ?>Forum: Plugins
In reply to: [Videopack] Query Poster ImageIt appears that not all videos have a poster image stored in this location, but the poster image is shown when the video is called with the shortcode. I checked the database and some metas are empty.
Forum: Plugins
In reply to: [Videopack] Query Poster ImageSorry I didn’t see another person asked the same question
get_post_meta($attachment_id, “_kgflashmediaplayer-poster”, true);
Forum: Plugins
In reply to: [Featured Posts and Custom Posts] Fatal error on activationForum: Plugins
In reply to: [Videopack] Thumbnails not generatingMake sure you don’t have a space in the file name or the thumbnail will not generate. I’m using WordPress 3.5 and everything works.
Just use css. Find the container class and apply the css. For example one of my sites use the class event-list to as a container. I use the following css.
.event-list:nth-of-type(odd) { background-color:#d1cdc4; } Or you can switch odd for even .event-list:nth-of-type(even) { background-color:#d1cdc4; }Remember to change the .event-list to whatever class you are using.
- 480p H.264 Encoding Complete