Welcome to Geeklog Wednesday, December 08 2021 @ 05:35 pm EST

Geeklog Forums

cant do href="rtsp://", strips it to href="//"


Status: offline

karnac

Forum User
Newbie
Registered: 19/02/04
Posts: 4
I'm trying to add a link to a stream with href="rtsp://streamlink">laskdfj but it keeps stripping the code to <a href="//streamlink">lkfajsd</a> instead. and in turn browers assume its html:// and fail to open the stream in an external player like I want.

This isn't an issue of adding rtsp to the accepted html tags in config.php, I tried that, no go, plus its not a tag itself so it shouldn't even need that.

please help.

thanks

edit: its even stripping it in this forum post
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
You have to add it to the list of allowed protocols in config.php:
PHP Formatted Code
// list of protocols that are allowed in links
$_CONF['allowed_protocols'] = array ('http', 'https', 'ftp');
 

bye, Dirk
 Quote

Status: offline

karnac

Forum User
Newbie
Registered: 19/02/04
Posts: 4
ah, simple enough.

thanks Dirk
 Quote

All times are EST. The time is now 05:35 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content