silviapfeiffer1
Forum Replies Created
-
Forum: Plugins
In reply to: [External Videos] [Plugin: External Videos] Videos not embeddingAh, what I was giving you was the overlay from the gallery, not the post, I think. The import creates the new post. Let me check…
It’s in external-videos.php in function save_video. I think you need to change this line:
$video_content .= $video[‘videourl’];Good luck!
Forum: Plugins
In reply to: [External Videos] [Plugin: External Videos] Videos not embeddingThanks for debugging this and finding a solution! It indeed looks like a WordPress bug.
Yes, you can edit the plugin easily. In ev-shortcode.php find the function display_gallery, then find the comment <!– Hidden content for the thickbox –>. Underneath there is the template for the overlay. You will probably want to put a
in front of <?php echo $html ?> to move the url into the second line. I am not sure what effects that has etc. But this is where I would start.I’m going to have to find some time rsn to fix all the feedback I have received on this plugin…
Forum: Plugins
In reply to: [External Videos] [Plugin: External Videos] Videos not embeddingNo they should not disappear. I tried it on my install and they did not disappear.
It is possible that there is a conflict – maybe wordpress used a variable name that I had already used in the plugin. But I would indeed like confirmation that this is a problem first.
Thanks for trying!
Forum: Plugins
In reply to: [External Videos] [Plugin: External Videos] Videos not embeddingHmm, maybe wordpress have changed the way in which external videos are shown on the page. Are you sure that your settings for embedding videos by link are unchanged in your wordpress settings?
Forum: Plugins
In reply to: [External Videos] [Plugin: External Videos] Fatal error: Out of memorySoundsCould be a php setup issue. See related thread at https://www.ads-software.com/support/topic/out-of-memory-when-uploading-images?replies=18
Certainly has nothing to do with the plugin.
After checking: That’s got nothing to do with my plugin. It’s how wordpress embeds videos.
You might want to change the settings in
/wp-admin/options-media.php.Can you send me a link that shows the problem? I’m not sure where it originates.
Forum: Plugins
In reply to: [External Videos] [Plugin: External Videos] Different Authot for each pageYes, that looks indeed like a candidate for a shortcode parameter. I like the idea. I’ll keep it in the feature request list for when I next get to it.
Forum: Plugins
In reply to: [Plugin: external-videos] – Videos imported multiple timesHmm, I don’t know how else videos would be taken in twice. Will have to check this out.
Forum: Plugins
In reply to: [Plugin: external-videos] – Videos imported multiple timesMaybe you have two crons running at the same time?
Nice one! I’m going to do some work over the next month on the plugin and maybe I can add this generally as a feature.
In the function external_videos_gallery in the file ev-shortcode.php you find the following:
// extract the videos for the gallery
$params = array(
‘posts_per_page’ => 20,
‘post_type’ => ‘external-videos’,
‘post_status’ => ‘publish’,
);
$old_params = $wp_query->query;
$params[‘paged’] = $old_params[‘paged’];
query_posts($params);
// display the gallery
display_gallery($width, $height);The query_post() function does all the leg work for you, see documentation at https://codex.www.ads-software.com/Function_Reference/query_posts . I think now you can solve it. ??
Can you explain what the difference would be between the different galleries? Would they contain different videos or just a different ordering?
The short code already has a feature [external-videos feature=”embed”] which allows to just display the very latest video. So, there is already a means to give it parameters. What parameters are you after?
well, it’s only tested until 3.0 . I will have to get back to it.
Forum: Fixing WordPress
In reply to: [External Videos] [Plugin: External Videos] Fatal errorHmm… that is very strange. That to me signals that you weren’t able to get the user’s video feed. Can you check if https://gdata.youtube.com/feeds/api/users/$author_id/uploads/ works for you where $author_id is replaced with your YouTube user? Also make sure that there are no blanks in the form where you add it in the admin interface.