WP File Manager
Current Path:
/
home
/
translil
/
www
/
amitram
/
multimedia
/
fete_musique_2015
/
Name
Action
..
01.JPG
Edit
02.JPG
Edit
03.JPG
Edit
film.flv
Edit
filmFlashExample.htm
Edit
Editing: filmFlashExample.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Free Video Converter: Convert video to HTML5</title> <style type="text/css"> html * { font-family:Tahoma;font-size:12px; } span.videoContainer{ display:block; width:100%; height: 100%; padding: 20px auto 50px auto; margin:auto; position:relative; } .leftArrow, .rightArrow { cursor:pointer; margin-bottom: 25px; } .rightArrow{ } .leftArrow{ } .leftArrow:hover, .rightArrow:hover{ color:#bbb; } #currentFilesLocation { margin-right:8px; } </style> <!-- Загрузка JSON--> <script type='text/javascript'> var model = {"CurrentFilesLocation":"L'emplacement actuel des fichiers:","CurrentFilesLocationDescription":"Tous les fichiers doivent être situés dans le même dossier que votre page HTML","MainTitle":"Pour intégrer la vidéo à une page Web","NeedToShowAdv":true,"Title1":"Transférez ces fichiers à partir du dossier de sortie sur votre serveur","Title2":"Copiez ce code","Title3":"Collez le code dans votre page Web entre les balises","VideoDatas":[{"__type":"FlvVideoData:#ConverterCommon.Tools.Flash","FolderPath":"C:\\Program Files (x86)\\EasyPHP-DevServer-14.1VC9\\data\\localweb\\new_amitram\\multimedia\\fete_musique_2015","Height":362,"Href":"http:\/\/www.freemake.com","HrefText":"freemake","Width":640,"FileName":"film.flv","PlayerName":"player_flv_maxi.swf"}]} </script> <script type="text/javascript" src="file:///C:/Program Files (x86)/Freemake/Freemake Video Converter/FreemakeVideoConverter/ForFlash/jquery-1.6.4.min.js"></script> <script> var listFiles; function loadDatos() { listFiles = this.model.VideoDatas; InsertText(this.model); console.log(this.model); } function ShowArrow(){ if ($("object").attr("id")=="0"){ $(".leftArrow").hide(); } else{ $(".leftArrow").show(); } var maxIndex = listFiles.length -1; var index = parseInt($("object").attr("id")); if (index==maxIndex){ $(".rightArrow").hide(); } else{ $(".rightArrow").show(); } } function InsertText(respText){ $("#mainTitle").text(respText.MainTitle); $("#title1").text(respText.Title1); $("#title2").text(respText.Title2); $("#title3").text(respText.Title3); $("#currentFilesLocation").text(respText.CurrentFilesLocation); $("#currentFilesLocationDescription").text(respText.CurrentFilesLocationDescription); ShowVideo(0); } function ShowVideo(num){ var video = listFiles[num]; $("#videoContainer").empty(); var videoStr = "<div style=\"position: relative; width: "+video.Width+"px;\">\n" + "<object id="+num+" type=\"application/x-shockwave-flash\" data="+video.PlayerName+" width="+video.Width+" height="+video.Height+">\n"+ "<param name=\"movie\" value="+video.PlayerName+" />\n"+ "<param name=\"wmode\" value=\"opaque\" />\n"+ "<param name=\"allowFullScreen\" value=\"true\" />\n"+ "<param name=\"allowScriptAccess\" value=\"sameDomain\" />\n"+ "<param name=\"quality\" value=\"high\" />\n"+ "<param name=\"menu\" value=\"true\" />\n"+ "<param name=\"autoplay\" value=\"false\" />\n"+ "<param name=\"autoload\" value=\"false\" />\n"+ "<param name=\"FlashVars\" value=\"flv="+video.FileName+"&width="+video.Width+"&height="+video.Height+"&autoplay=0&autoload=0&buffer=5&buffermessage=&playercolor=464646&loadingcolor=999898&buttoncolor=ffffff&buttonovercolor=dddcdc&slidercolor=ffffff&sliderovercolor=dddcdc&showvolume=1&showfullscreen=1&playeralpha=100&title="+video.FileName+"&margin=0&buffershowbg=0\" />\n"+ "</object>\n" + (this.model.NeedToShowAdv ? ("<a href=\"http://www.freemake.com/fr/\"><img alt=\"Freemake\" src=\"http://www.freemake.com/favicon.ico\" style=\"background-color: transparent;position: absolute;top: 20px;right: 20px;z-index: 9999;border-style: none;opacity:0.6;filter:alpha(opacity=60);\">" + "</img></a>\n") : "") + "</div>"; $("#videoContainer").append(videoStr); $("textarea").val(videoStr); $("#folderPath").text(video.FolderPath); $("#folderPath").attr("href", video.FolderPath); $("#listFiles").empty(); var filesStr = video.PlayerName + "<br>" + video.FileName; $("#listFiles").html(filesStr); ShowArrow(); } function NextVideos () { var num = $("object").attr("id"); ShowVideo(parseInt(num)+1); } function PrevVideos () { var num = $("object").attr("id"); ShowVideo(parseInt(num)-1); } </script> </head> <body onload="loadDatos();"> <center> <table width=766 cellspacing=0 cellpadding=0> <tr> <td height=109 style="background:url('file:///C:/Program Files (x86)/Freemake/Freemake Video Converter/FreemakeVideoConverter/ForFlash/1.gif') no-repeat;" align=left> <div id="mainTitle" style="font-family: 'Georgia', 'Times New Roman', Times, serif; color:#d24215; padding-right:121px; padding-top:35px; padding-left:50px; font-size:35px;"> </div> </td> </tr> <tr> <td style="background:url('file:///C:/Program Files (x86)/Freemake/Freemake Video Converter/FreemakeVideoConverter/ForFlash/2.gif') no-repeat;vertical-align:middle;align:center; background:url('file:///C:/Program Files (x86)/Freemake/Freemake Video Converter/FreemakeVideoConverter/ForFlash/2-bottom.gif') no-repeat left bottom;" valign=middle align=center> <table border="0" cellspacing="0" cellpadding="0" style="background:url('file:///C:/Program Files (x86)/Freemake/Freemake Video Converter/FreemakeVideoConverter/ForFlash/2.gif') no-repeat 0px top; padding-top: 20px; padding-bottom: 45px;"> <tr> <td width="100"> <img src="file:///C:/Program Files (x86)/Freemake/Freemake Video Converter/FreemakeVideoConverter/ForFlash/transparent.gif" width="100" height="1" > <div onclick="PrevVideos ()" class="leftArrow"> <img src="file:///C:/Program Files (x86)/Freemake/Freemake Video Converter/FreemakeVideoConverter/ForFlash/left.png" > </div></td> <td align="center" valign="middle"> <span class="videoContainer"> <div id="videoContainer" style="color:#ffffff;"> </div> </span> </td> <td width="100" align="right"> <img src="file:///C:/Program Files (x86)/Freemake/Freemake Video Converter/FreemakeVideoConverter/ForFlash/transparent.gif" width="100" height="1" > <div onclick="NextVideos ();" class="rightArrow"> <img src="file:///C:/Program Files (x86)/Freemake/Freemake Video Converter/FreemakeVideoConverter/ForFlash/right.png" > </div> </td> </tr> </table></td> </tr> <tr> <td height=182 style="background:url('file:///C:/Program Files (x86)/Freemake/Freemake Video Converter/FreemakeVideoConverter/ForFlash/3.gif') no-repeat;vertical-align:top;" valign=top align=left> <div id="title1" style="font-family: 'Georgia', 'Times New Roman', Times, serif;color:#13b8ba;padding-left:119px;padding-top:25px;font-size:20px;"> </div> <div style="padding-left:140px;padding-top:10px;"> <div id="listFiles"> </div> <div style="padding-top:16px;"><i id="currentFilesLocation" style="color:#AAAAAA"> </i><a id="folderPath" href="file:///E:\Video\Wildlife"></a></div> <div style="padding-top:6px;"><i id="currentFilesLocationDescription" style="color:#AAAAAA"></i></div><br /> </div> </td> </tr> <tr> <td style="background:url('file:///C:/Program Files (x86)/Freemake/Freemake Video Converter/FreemakeVideoConverter/ForFlash/4.gif') no-repeat;vertical-align:top;" valign=top align=left> <div id="title2" style="font-family: 'Georgia', 'Times New Roman', Times, serif;color:#13b8ba;padding-left:119px;padding-top:19px;font-size:20px;"> </div> <table width=620 cellspacing=0 cellpadding=0 style="width:620px;position:relative;left:119px;top:20px;"> <tr><td style="background:url('file:///C:/Program Files (x86)/Freemake/Freemake Video Converter/FreemakeVideoConverter/ForFlash/g1.gif') repeat-y;height:29px;" height=29> </td></tr> <tr> <td> <table width=100% cellspacing=0 cellpadding=0 style="width:100%;"> <tr> <td width=29 style="background:url('file:///C:/Program Files (x86)/Freemake/Freemake Video Converter/FreemakeVideoConverter/ForFlash/gl.gif') repeat-y;"> </td> <td> <script type="text/javascript"> function jFocus(elm) { if(typeof(elm) == 'string') elm = getElementById(elm); if (elm) { elm.focus(); elm.select(); } } function FitToContent(id, maxHeight) { var text = id && id.style ? id : document.getElementById(id); if ( !text ) return; var adjustedHeight = text.clientHeight; if ( !maxHeight || maxHeight > adjustedHeight ) { adjustedHeight = Math.max(text.scrollHeight, adjustedHeight); if ( maxHeight ) adjustedHeight = Math.min(maxHeight, adjustedHeight); if ( adjustedHeight > text.clientHeight ) text.style.height = adjustedHeight + "px"; } } </script> <textarea id=ta name=ta rows=10 onclick="jFocus(this)" readonly style="width:555px;font-size:90%;border:none;overflow:hidden;display:inline-block;"> </textarea> <script language="javascript"> FitToContent(document.getElementById("ta"), 500); </script> </td> <td width=29 style="background:url('file:///C:/Program Files (x86)/Freemake/Freemake Video Converter/FreemakeVideoConverter/ForFlash/gr.gif') repeat-y;"> </td> </tr> </table> </td> </tr> <tr> <td><img src="file:///C:/Program Files (x86)/Freemake/Freemake Video Converter/FreemakeVideoConverter/ForFlash/g2.gif" width=620 height=29></td> </tr> </table> </td> </tr> <tr> <td><img src="file:///C:/Program Files (x86)/Freemake/Freemake Video Converter/FreemakeVideoConverter/ForFlash/gsh.gif" width=766 height=69></td> </tr> <tr> <td height=108 style="background:url('file:///C:/Program Files (x86)/Freemake/Freemake Video Converter/FreemakeVideoConverter/ForFlash/5.gif') no-repeat;vertical-align:top;" valign=top align=left> <div > <span id="title3" style="font-family: 'Georgia', 'Times New Roman', Times, serif;color:#13b8ba;padding-left:119px;padding-top:19px;font-size:20px;"></span> <span style="color:#7014c6;font-size:16px;font-family:'Courier New'"> <body></body></span> </div> </td> </tr> </table> </center> </body> </html>