Embed Media Player in External Site

SoftDesigns
SoftDesigns
@softdesigns
7 years ago
242 posts
How to Embed JR Audio / Video Player in External Site?
How to limit which external sites are allowed to play JR media?

For example: SongA - or VideoB - can ONLY be embedded and played in this external site: MySite.com
updated by @softdesigns: 02/24/18 05:26:22PM
michael
@michael
7 years ago
7,746 posts
first thought would be an iframbable player constructed on your site, but that wouldn't allow for the which external sites are allowed to part, so instead, I would look at putting the code for the player in an external site, then use the stream url from your site and then you can use the
ACP -> MODULES -> CORE -> SYSTEM CORE -> GLOBAL CONFIG -> GENERAL -> ALLOWED DOMAINS

To do the restricting.,
restricting.jpg
restricting.jpg  •  126KB

SoftDesigns
SoftDesigns
@softdesigns
7 years ago
242 posts
Can this method still to work using "play keys" ?
https://www.jamroom.net/the-jamroom-network/documentation/howto/1515/howto-allow-streaming-from-other-sites-embedding-players-in-other-websites
--
Example URL : site.com/uploaded_audio/stream/audio_file/8/key=1/file.mp3

Can the example URL above be limited / restricted to only play for listed domains using your ACP "ALLOWED DOMAINS" above?
--
We need to know how to construct the correct "Stream URL" , but still make sure the URL is restricted by "ALLOWED DOMAINS" .
--
How do we know the correct URL , with PlayKey, and ID?
updated by @softdesigns: 11/24/17 03:10:09PM
michael
@michael
7 years ago
7,746 posts
The url for streaming will be:
site.com/uploaded_audio/stream/audio_file/(the item_id here)/key=1/file.mp3

And if the site requesting that url is in the ALLOWED DOMAINS it will stream, otherwise not.

Tags