So, I've got me a problem. I'm trying to link to an external .mp4 movie (on a streaming server). The URL is:
rtsp://avlab.matrix.msu.edu:554/qtmedia/Media/lecture.mp4
The problem is, when I insert it as a regular link, the URL gets rewritten to:
http://sites.history.msu.edu/hst250/554/qtmedia/Media/lecture.mp4
The result is that the link is broken because the video can't be found (obviously).
Anyone have any thoughts about how I can fix this? Does it have to do with the fact that its coming from a streaming server? Or is it something else?
Cheers
rtsp isn't a normal html header for a url. Best bet would be to create a shortcode and write a filter for it.
Codex: http://codex.wordpress.org/Shortcode_API
Example: http://www.daburna.de/blog/2006/12/13/wordpress-video-plugin/
Granted, they're embeds but you should get the hang of it.
kgraeme
Member
Posted 16 years ago #
Actually, "rtsp://" is the correct URL standard for declaring a real time streaming protocol link.
http://tools.ietf.org/html/rfc2326#page-14
I'm not sure what exactly is happening in wordpress, but it's doing something to try and fix your link. It looks like it might be trying to sanitize it from what it thinks is malicious code and just passing what it thinks is valid to your blog's path.
Actually, "rtsp://" is the correct URL standard for declaring a real time streaming protocol link.
That may be so but it's not part of the HTMP 4.01 or XML specification.
I'm not sure what exactly is happening in wordpress
It's removing what it considers to be incorrect HTML. We've talked about this before. Does the same thing with Skype urls as well.
edit: Actually I just found this suggestion on the wp.com forums. Try using a redirection server that'll give you the http link instead of the rtsp one:
http://en.forums.wordpress.com/topic/workaround-for-skype-links-on-wordpresscom