Author Topic: Embedding issue. Cant get it to work.  (Read 1483 times)

sonobr

  • Newbie
  • Posts: 1
Embedding issue. Cant get it to work.
« on: July 12, 2012, 08:09:14 pm »
I am trying to embed a video but it says "Unable to determine content type of media (e.g. audio/mpeg). Verify file extension is correct and try again."

I read past posts and I am doing everything told.
It is enabled in settings
I put the media url and the embed code.

My site is http://www.sonobrasil.com

I havent tried Youtube. Is the plugin not compatible with Dailymotion?

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: Embedding issue. Cant get it to work.
« Reply #1 on: July 13, 2012, 09:04:29 am »
Please reply with the URL in question so we can confirm the problem.

Many folks make the mistake of assuming the URL to a web page where video is hosted is the Media URL. A true media URL to a video ends with the file extension .m4v / .mp4.

Video sharing sites (embeds provided by them like DailyMotion/YouTube) are meant for web pages only. You need to upload and host a mp4/m4v version of your video on a server with a direct link to that media. Example: http://exmaple.com/path/to/file.mp4 (This is the "Media URL"). Learn more about video file formats for podcasting here: http://www.podcastfaq.com/creating-podcast/video/video-formats/ (Also see the tips page for mp4/m4v)

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: Embedding issue. Cant get it to work.
« Reply #2 on: July 13, 2012, 08:19:09 pm »
I just got an email that there was a reply to this thread but it's gone already?

Jamie Jeffers

  • Rookie
  • *
  • Posts: 3
Re: Embedding issue. Cant get it to work.
« Reply #3 on: October 25, 2016, 04:20:26 pm »
For others running into this problem the issue appears to be that Powerpress strips the headers and causes issues with remote authorization.  I solved it in the htaccess file with the following code.

# BEGIN attempting to rewrite the auth header
<IfModule mod_rewrite.c>
        # Pass Authorization headers to an environment variable
        RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</IfModule>
# END attempting to rewrite the auth header