Embedding a YouTube player without a video?

You could cue the video to autostart at the end, meaning it'll play for about a second before showing the suggestions. To avoid showing that 1 second of video, you could mute and hide the video until its finished. Something like this: window.

Onload=function(){ var params = { allowScriptAccess: "always" }; var atts = { id: "myytplayer", bgcolor: "#000" }; swfobject. EmbedSWF("youtube.com/e/KmDYXaaT9sA?enablejsapi=1&..., "ytapiplayer", "425", "356", "8", null, null, params, atts); } var first = true; function onYouTubePlayerReady(playerId) { ytplayer = document. GetElementById("myytplayer"); ytplayer.

AddEventListener("onStateChange", "onytplayerStateChange"); ytplayer.mute(); ytplayer.style. Visibility = "hidden"; } function onytplayerStateChange(newState) { ytplayer = document. GetElementById("myytplayer"); if (newState==0 && first) { first=false; ytplayer.style.

Visibility = "visible"; ytplayer.unMute(); } } example: http://fiddle.jshell.net/niklasvh/thpZM/show.

Ok, you can set whatever video you want, and then use Splicd to trim the video to about one second or less, then simply set autoplay to yes, and you have a window with suggestions. This may be to hacky as my previous suggestion was though.

Well, I'd like to embed a YouTube player in that state. No video- just a search box and suggestions. Is this possible?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions