Peter Kiers
asked on
How to play a you tube movie from this code line?
Hi,
I need to specify at the line that I have marked with an arrow a you tube video
How can I do that?
Who knows the answer and is willing to help me?
Peter Kiers
I need to specify at the line that I have marked with an arrow a you tube video
How can I do that?
<div id="tscVideoContent"></div>
<script src="scripts/jquery-1.7.1.min.js" ></script>
<script src="scripts/jquery-ui-1.8.15.custom.min.js" ></script>
<script src="scripts/swfobject.js"></script>
<script src="scripts/modernizr.js"></script>
<script src="scripts/handlebars.js"></script>
<script src="scripts/player-min.js" charset="utf-8"></script>
<script type="text/javascript">
TSC.playerConfiguration.setFlashPlayerSwf("Untitled_controller.swf");
TSC.playerConfiguration.setMediaSrc("Untitled.mp4"); <==========
TSC.playerConfiguration.setXMPSrc("Untitled_config.xml");
TSC.playerConfiguration.setAutoHideControls(true);
TSC.playerConfiguration.setBackgroundColor("#000000");
TSC.playerConfiguration.setCaptionsEnabled(false);
TSC.playerConfiguration.setSidebarEnabled(false);
TSC.playerConfiguration.setAutoPlayMedia(false);
TSC.playerConfiguration.setPosterImageSrc("Untitled_First_Frame.png");
TSC.playerConfiguration.setIsSearchable(false);
TSC.playerConfiguration.setEndActionType("stop");
TSC.playerConfiguration.setEndActionParam("true");
TSC.playerConfiguration.setAllowRewind(-1);
TSC.localizationStrings.setLanguage(TSC.languageCodes.ENGLISH);
$(document).ready(function (e) {
TSC.mediaPlayer.init("#tscVideoContent");
});
</script>
Who knows the answer and is willing to help me?
Peter Kiers
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Oh, I got it character wrong in the url.
Greetings, Peter Kiers
Greetings, Peter Kiers
ASKER
Peter