WordPress.org

Ready to get started?Download WordPress

Forums

JW Player for Flash & HTML5 Video
Moved WP Directory (10 posts)

  1. ivanh
    Member
    Posted 1 year ago #

    I've moved my WP directory to a subdirectory and also changed the wordpress url in admin settings. however, my jwplayer doesn't detect this and returns an error message: Error loading media: file could not be played. What should i do?

    Thanks

    http://wordpress.org/extend/plugins/jw-player-plugin-for-wordpress/

  2. JW Player
    Member
    Plugin Author

    Posted 1 year ago #

    Do you have a link we can look at to the issue?

  3. ivanh
    Member
    Posted 1 year ago #

  4. JW Player
    Member
    Plugin Author

    Posted 1 year ago #

    According to Firebug, this file is returning a 404 not found - http://myscribblesite.com/wp-content/uploads/last_squat_day.mp4

    If you go to that file, you will get a 404 page.

  5. ivanh
    Member
    Posted 1 year ago #

    You are correct kind sir, my current WP folder has moved into a subdirectory away from the root.

  6. JW Player
    Member
    Plugin Author

    Posted 1 year ago #

    But that file is missing, hence you are getting the error.

  7. ivanh
    Member
    Posted 1 year ago #

  8. JW Player
    Member
    Plugin Author

    Posted 1 year ago #

    Make the "file" in your code the absolute URL to that file instead, that should work.

  9. ivanh
    Member
    Posted 1 year ago #

    Disappeared post:

    LongTail Video wrote:

    Make the "file" in your code the absolute URL to that file instead, that should work.

    I don't see any shortcode that allows this. Using http://www.longtailvideo.com/support/jw-player/31560/jw-player-wordpress-plugin-reference#shortcodes as reference.

    Adding via "Add external media" yields the same output, eg [jwplayer player="1" mediaid="xxx"]

  10. JW Player
    Member
    Plugin Author

    Posted 1 year ago #

    Or, just do this.

    [jwplayer file="http://myscribblesite.com/app/wp-content/uploads/last_squat_day.mp4"]

    Or, edit the file in the media library to point to the new reference.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic