WordPress.org

Ready to get started?Download WordPress

Forums

photostream-sync
[resolved] Error while importing videos (9 posts)

  1. stereonom
    Member
    Posted 4 months ago #

    Hi.

    When the plugin tries to import videos it fails with:
    Fatal error: Call to undefined function wp_read_video_metadata() in …/wp-admin/includes/image.php on line 122

    I clean installed WP 3.7.1. No other plugins active.

    Any idea?

    http://wordpress.org/plugins/photostream-sync/

  2. apokalyptik
    Member
    Plugin Author

    Posted 4 months ago #

    This *should* be fixed in 2.0.3. Mind upgrading and giving it another go?

  3. stereonom
    Member
    Posted 4 months ago #

    it works.
    thanks, awesome work!

  4. stereonom
    Member
    Posted 4 months ago #

    when I add a video only to photostream and the video gets insert into wordpress the code is:
    [gallery][video mp4="http://www…video.mp4"]

    Is it possible for you to remove the unnecessary [gallery]-element?

  5. stereonom
    Member
    Posted 4 months ago #

    and one additional request: videos from photostream are often very big. would you please add a setting where I can say preload="none" or even make it the default?

  6. apokalyptik
    Member
    Plugin Author

    Posted 4 months ago #

    Is it possible for you to remove the unnecessary [gallery]-element?

    Maybe. It's not going to be a simple thing though. That tag allows WordPress to add the image gallery into the post automagically. It doesn't, however, add videos to the auto-generated gallery. So my workaround here was to leave the existing [gallery] which gets *all* the images in one code, and then add the individual videos to the page... Since we don't necessarily know if more images and/or videos are coming through at the time we are adding videos to the post it gets tricky...

    Is it actively causing a problem?

  7. apokalyptik
    Member
    Plugin Author

    Posted 4 months ago #

    and one additional request: videos from photostream are often very big. would you please add a setting where I can say preload="none" or even make it the default?

    I can add the ability to customize the video shortcode in a similar way to how I allow customizing the gallery shortcode...

  8. stereonom
    Member
    Posted 4 months ago #

    Is it actively causing a problem?

    No, I just thought it would be cleaner without it.
    But when it's that hard you can leave it there.

    I can add the ability to customize the video shortcode in a similar way to how I allow customizing the gallery shortcode...

    That would be very nice.

  9. apokalyptik
    Member
    Plugin Author

    Posted 4 months ago #

    I added support for adding content inside the [video] shortcodes in version 2.0.4. Mind upgrading and giving it a go?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.