I've tried to embed code from archive.org.

In the 1.x version: I am able to save the node, but the flashvars point to the localhost instead of archive.org

In the 2.x version: I am not able to save the URL because "You have specified an invalid media URL or embed code."

Example archive.org URL. http://www.archive.org/details/20030524-bbs-nasstrom

Comments

winston’s picture

Status: Active » Postponed (maintainer needs more info)

@jseffel

Are you trying to embed video or audio? There appear to be both in the archive.org item you are pointing to.

Not sure I recommend putting both video and audio in the same archive.org item, but in theory it should still work.

Anyway I tested both video and audio with the latest emfield and latest media_archive and video works fine in my test.

Audio didn't work, but I did not get the "You have specified an invalid media URL or embed code." error. It embedded, just didn't play.

Before I continue with this issue, please clarify if you are getting an error on video (which I currently can't reproduce) or audio (which I'm getting a different error on).

nedjo’s picture

I've had reports of Media: Archive errors when trying to use embed code rather than copying and pasting the URL.

winston’s picture

@nedjo

I don't think your problem is related to @jseffel. He is saying he used the URL.

Please open a new issue and post a link to an archive item where the embed code specifically generates a Media: Archive error.

I checked a bunch of archive.org items and the regular expressions should be picking up the identifier for all of them correctly so without an item that definitely fails I'm not sure what I'd be debugging.

Thanks...

winston’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Going to close this as I just updated the code with major changes to how archive.org data is fetched, how video/audio are selected, etc. that should fix the above issues.

I've been using your example URL as a test case and it is working consistently for me.

Please try the lastest recommended emfield + latest recommended media_archive and open a new issue if you have a problem.

Thanks.

winston’s picture

Hmm, turns out the embed codes weren't working after all. Fixed in latest 2.x releases. Sorry for the multiple releases so quickly.

  • Commit 1a353ad on 6.x-2.x, 7.x-2.x by winston:
    #962080 by winston: Fixed so embed code works as well as URL