Page Links To
[resolved] i am trying to use rtmp:// (2 posts)

  1. pakmafia
    Posted 3 years ago #

    I have managed to install the plugin and it works on common url http:// rtsp:// but when I try to include a url beginning with rtmp it fails to register it. can I add rtmp in the plugin files so it recognises it? thanks


  2. Mark Jaquith
    WordPress Lead Dev
    Plugin Author

    Posted 3 years ago #

    WordPress doesn't have the rtmp protocol whitelisted. There is, however, a filter that lets you add it. This plugin should do the trick:

    Plugin Name: Allow rtmp:// links
    function allow_rtmp_links( $protocols ) {
    	$protocols[] = 'rtmp';
    	return $protocols;
    add_filter( 'kses_allowed_protocols', 'allow_rtmp_links' );

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Page Links To
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.