Salut tout le monde,
J'ai développe un composant (en c#) pour afficher du contenu flash,
je vous montre mon code :
quand je regarde la source de ma page html je vois ca :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 StringBuilder jsScript = new StringBuilder(); jsScript.AppendLine("var params = {};"); jsScript.AppendLine("params.menu = \"false\";"); jsScript.AppendLine("params.wmode = \"transparent\";"); jsScript.AppendLine("params.allowscriptaccess = \"always\";"); jsScript.AppendLine("swfobject.embedSWF(\"" + PlayerFlashUrl + "\", \"exp-WP-FlashPlayer-" + this.ClientID + "\", \"" + PlayerWidth + "\", \"" + PlayerHeight + "\", \"10\", \"\", {path: \"" + GetFlashPath() + "\",video:\"" + GetFlashPathName() + /*"\",skin: \"" + Skin +*/ "\"}, params );");
ce qui me semble correct
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 <script type="text/javascript"> //<![CDATA[ var params = {}; params.menu = "false"; params.wmode = "transparent"; params.allowscriptaccess = "always"; swfobject.embedSWF("http://vm-tdijoux:44444/Pages library/player_flv_mini.swf", "exp-WP-FlashPlayer-ctl00_m_g_f49a8947_4ffb_4ed0_b77f_dd8270b3ddb4", "230", "190", "10", "", {path: "http://vm-tdijoux:44444/Pages library/",video:"EN_Sounillac.flv"}, params ); //]]> </script>
player_flv_mini.swf étant mon player flash et EN_Sounillac.flv ma video
le truc c'est quand je clique sur lecture, il fait un buffering qui reste à 0% ...
Avez-vous des pistes svp ??
Partager