Skip to content

Instantly share code, notes, and snippets.

@findmory
Created March 24, 2015 19:07
Show Gist options
  • Save findmory/d90316f79f67f5920b7a to your computer and use it in GitHub Desktop.
Save findmory/d90316f79f67f5920b7a to your computer and use it in GitHub Desktop.
upLynk JS player
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
</head>
<body>
<div id="uplynk"></div>
<script>
var flashvars = {
defaultURL: "http://content.uplynk.com/705ef2b800a6472cb4cae5449db9cb75.m3u8",
autoPlay : "false",
uplynkPluginURL : "swf/latest_upLynkOsmfPlugin.swf",
defaultVolume: "0.5",
scaleMode : "none",
scale:"exactfit"
};
var params = {
allowfullscreen: "true",
bgcolor:"#e23455",
width:"800",
height:"480"
};
var attributes = {
id: "mycontent",
name: "mycontent"
};
swfobject.embedSWF("swf/latest_upLynkPlayer.swf", "uplynk", params["width"], params["height"], "11.0.0","expressInstall.swf", flashvars, params, attributes);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment