Last active
December 24, 2017 06:08
-
-
Save fijiwebdesign/535b810f9f9a5b7be7bf61320a6846c5 to your computer and use it in GitHub Desktop.
TorCDN embed code for broadcasting video
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Usage: | |
Replace the {uid} with a unique ID for this broadcaster. | |
Make sure the uid is unique. | |
An example UID in JavaScript: | |
var uid = parseInt(Math.ceil(Math.random()*Math.pow(10, 20))).toString(36) | |
Example: | |
uid: abczyx | |
<iframe src="https://play.torcdn.com/broadcast/abczyx"></iframe> | |
--> | |
<iframe src="https://https://play.torcdn.com/broadcast/{uid}"></iframe> | |
<!-- End TorCDN Embed Code --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment