Created
May 4, 2015 10:46
-
-
Save ranyefet/d1fff2e6b662615d1566 to your computer and use it in GitHub Desktop.
myPlugin example test page
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
<!doctype> | |
<html> | |
<head> | |
<title>My Plugin Test page</title> | |
<script type="text/javascript" src="../../mwEmbedPath.php/mwEmbedLoader.php"></script> | |
</head> | |
<body> | |
<h2>My Plugin example</h2> | |
<div class="container"> | |
<div id="kPlayer" style="width: 400px; height: 330px;"></div> | |
</div> | |
<script> | |
mw.setConfig('forceMobileHTML5', true); | |
kWidget.embed({ | |
'targetId': 'kPlayer', | |
'wid': '_000000', // Replace it with your partner_id | |
'uiconf_id' : 00000, // Replace it with your uiConf | |
'flashvars': { | |
'myPlugin': { | |
"plugin" : true, | |
"pauseTimeout": 5 | |
} | |
} | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment