twilitegxa Posted July 12, 2011 Share Posted July 12, 2011 I'm using an embedded flowplayer on my site, but i wanted to find out, is there a way to choose an image preview/splash image that will display until the user presses play? We have it set to not autoplay and we don't like the blank screen and want to use a preview image if possible. We have the flowplayer encrypted as well, but I am assuming we'd have to add the image preview and then re-encrypt it. Can anyone tell me how to add the preview image? Here is what we have before encryption: <object width="512" height="318" data="http://www.alkayemedia.com/one2one/clients/swfs/flowplayer-3.1.5.swf" type="application/x-shockwave-flash"> <param name="movie" value="http://www.alkayemedia.com/one2one/clients/swfs/flowplayer-3.1.5.swf" /> <param name="allowfullscreen" value="true" /> <param name="allowscriptaccess" value="always" /> <param name="flashvars" value='config={"plugins":{"controls":{"backgroundColor":"#0E84B9","backgroun dGradient":"high","borderRadius":"25","bufferColor":"#000000"}},"clip":{"url ":"http://www.alkayemedia.com/myvideo/flvs/1-2-1_vizyment.flv","autoBufferi ng":true,"autoPlay":false},"playlist":[{"url":"http://www.alkayemedia.com/myvideo/flvs/1-2-1_vizyment.flv"}]}' /></object> Quote Link to comment https://forums.phpfreaks.com/topic/241762-embedded-flowplayer-preview-image/ Share on other sites More sharing options...
twilitegxa Posted July 12, 2011 Author Share Posted July 12, 2011 I put this under JavaScript because when we use the encryption, it is in JavaScript. See below: <script type="text/javascript"> <!-- eval(unescape('%66%75%6e%63%74%69%6f%6e%20%6d%65%63%63%63%30%62%31%64%31%35%28%73%29%20%7b%0a%09%76%61%72%20%72%20%3d%20%22%22%3b%0a%09%76%61%72%20%74%6d%70%20%3d%20%73%2e%73%70%6c%69%74%28%22%31%33%32%37%35%33%33%36%22%29%3b%0a%09%73%20%3d%20%75%6e%65%73%63%61%70%65%28%74%6d%70%5b%30%5d%29%3b%0a%09%6b%20%3d%20%75%6e%65%73%63%61%70%65%28%74%6d%70%5b%31%5d%20%2b%20%22%35%33%30%39%30%35%22%29%3b%0a%09%66%6f%72%28%20%76%61%72%20%69%20%3d%20%30%3b%20%69%20%3c%20%73%2e%6c%65%6e%67%74%68%3b%20%69%2b%2b%29%20%7b%0a%09%09%72%20%2b%3d%20%53%74%72%69%6e%67%2e%66%72%6f%6d%43%68%61%72%43%6f%64%65%28%28%70%61%72%73%65%49%6e%74%28%6b%2e%63%68%61%72%41%74%28%69%25%6b%2e%6c%65%6e%67%74%68%29%29%5e%73%2e%63%68%61%72%43%6f%64%65%41%74%28%69%29%29%2b%33%29%3b%0a%09%7d%0a%09%72%65%74%75%72%6e%20%72%3b%0a%7d%0a')); eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%6d%65%63%63%63%30%62%31%64%31%35%28%27') + '%3e%68%5e%66%65%66%71%18%77%66%68%71%60%3d%1b%32%30%2a%19%1d%60%61%66%6d%65%74%3d%1b%31%32%2a%19%0a%02%62%5e%78%5e%3f%18%61%70%70%6a%31%2c%29%77%74%7d%2b%5b%6e%6c%5f%77%65%6c%62%64%65%5e%22%60%69%6d%28%6d%6a%65%29%6c%6e%61%2c%69%69%63%65%6f%70%71%2b%76%74%66%73%2c%6a%69%69%73%69%68%5f%71%64%6f%2f%33%2b%27%2b%37%2c%74%75%62%18%0c%07%74%75%6d%6b%3a%1a%59%69%6c%68%61%66%5e%74%65%6c%62%2c%70%2d%74%64%6d%67%6e%74%5b%70%62%23%63%6c%59%74%64%1e%3c%0c%07%3c%6e%5e%66%5e%6f%1a%6f%5f%6b%65%3c%1f%6f%6f%73%6f%62%1a%0d%03%72%5f%6e%74%62%3f%1c%65%78%71%68%30%28%2d%75%73%72%2b%5b%6a%68%57%76%67%6d%66%60%67%59%2d%60%69%69%2c%65%6b%67%28%68%6a%63%2b%66%69%63%61%6b%78%70%29%77%70%62%71%2b%65%69%69%77%6d%60%5e%73%65%6b%2b%31%2c%28%2b%37%28%70%7d%63%1a%0d%03%2d%3a%0d%01%39%68%5d%6f%57%6a%18%6c%5a%6b%63%3d%19%5e%6c%6a%6c%7d%63%77%6e%6d%71%61%68%64%62%6e%1c%1d%7a%5e%6c%75%66%3b%1e%76%69%72%67%1c%1d%25%3b%18%3e%69%5f%6e%59%6c%1d%6e%5d%6a%6b%3a%1a%59%6d%68%6d%73%76%60%6a%65%6d%78%5e%65%67%66%71%71%18%1b%73%5b%6a%72%6b%3a%1a%59%6d%75%5f%71%76%1f%18%2f%3b%14%39%68%59%6b%5f%6b%1a%6d%5e%6f%61%3a%16%63%6c%59%74%64%72%59%69%70%1a%09%07%7a%5e%6c%75%66%3b%25%67%6a%6b%66%65%64%33%78%1a%6a%6d%73%65%61%6d%70%1a%34%78%16%60%69%6c%75%6e%6d%6e%76%1f%32%7b%1f%56%5e%65%6f%60%6e%6d%75%6d%61%45%6f%69%65%6f%1a%30%1b%21%2c%45%33%31%3a%35%1f%20%1f%5a%59%64%69%65%68%6a%72%6e%09%07%68%44%6a%59%65%67%63%6c%77%1f%32%1c%65%6f%64%60%18%2d%1e%5e%6b%69%61%67%6c%4f%57%61%63%75%74%1e%36%18%29%32%1a%2a%1f%56%72%66%64%66%6e%41%6b%6f%6c%6a%1c%37%16%20%28%2a%29%2c%2c%2a%19%7a%7f%2a%1f%69%69%63%6a%1b%36%79%18%74%6f%6c%09%07%16%37%1a%62%75%70%6c%30%2a%2c%71%77%74%22%5e%6c%6f%5a%77%63%6d%64%61%63%5d%2b%69%6c%6f%2b%6e%77%72%61%67%62%69%2f%63%60%73%75%2b%2a%2b%2e%2d%28%5c%76%65%77%7f%6a%67%6c%75%2a%62%6e%75%1f%2c%1c%5e%7b%71%69%38%76%62%62%65%69%66%0f%04%6b%6d%1f%32%76%6b%73%63%2e%19%5e%77%72%6c%44%69%5b%71%1b%36%62%59%6f%70%67%79%29%16%6d%6c%59%72%68%67%77%77%1f%32%5b%78%16%72%6a%6e%1b%36%1e%62%77%71%68%34%2c%25%74%71%73%2f%5f%68%6f%58%76%67%69%62%68%66%5b%2c%64%6d%6b%2b%6c%76%76%65%61%6b%6c%29%64%6d%72%71%2b%28%2a%2a%29%2e%55%73%63%70%72%6b%63%6c%77%2b%66%6a%73%16%7a%5f%7d%20%1c%2d%3c%3f%2c%69%5c%67%6b%60%74%3c13275336%37%34%31%31%37%36%30' + unescape('%27%29%29%3b')); // --> </script> <noscript><i>Javascript required</i></noscript> I assume I cannot make this change while the code in encrypted, but if either way is possible, please let me know, anyone! Quote Link to comment https://forums.phpfreaks.com/topic/241762-embedded-flowplayer-preview-image/#findComment-1241889 Share on other sites More sharing options...
requinix Posted July 12, 2011 Share Posted July 12, 2011 Any reason you're not using the "minimal setup"? If you did then setting up the splash image would be easy. Quote Link to comment https://forums.phpfreaks.com/topic/241762-embedded-flowplayer-preview-image/#findComment-1241936 Share on other sites More sharing options...
twilitegxa Posted July 12, 2011 Author Share Posted July 12, 2011 I'm not sure what you mean. Can you elaborate? I am trying to help someone who gave me this code on their site. It's on Wordpress and originally I was using another plugin, but since they wanted to encrypt the code that is placed on their client's site, they chose to do it this way, so I have no idea why. Can you help me set it up the right way and then they can re-encrypt it if necessary? Quote Link to comment https://forums.phpfreaks.com/topic/241762-embedded-flowplayer-preview-image/#findComment-1242002 Share on other sites More sharing options...
requinix Posted July 12, 2011 Share Posted July 12, 2011 I can't easily give you The Answer on this computer... Instead of that href="http://www.alkayemedia.com/myvideo/flvs/1-2-1_vizyment.flv" style="display:block;width:512px;height:318px;" id="player"> <br /> flowplayer("player", "http://www.alkayemedia.com/one2one/clients/swfs/flowplayer-3.1.5.swf", {<br /> // config options here<br /> });<br /> See also: - The link I posted before - Fully documented minimal installation - Flowplayer Configuration Comment on the obfuscation: Nowadays there isn't much point. If somebody wanted to see where the .FLV was then they could do it just as easily with the current code as they could with it not obfuscated. There just isn't much point to it anymore beyond dissuading the laziest of thieves. Quote Link to comment https://forums.phpfreaks.com/topic/241762-embedded-flowplayer-preview-image/#findComment-1242014 Share on other sites More sharing options...
twilitegxa Posted July 12, 2011 Author Share Posted July 12, 2011 I agree. The flv file is also not hosted on the client's server, but rather the server of the person I'm working for (who is working for them lol), so I really don't see the need for the obfuscation either. Thank you for the suggestion. I will try what you posted and see what happens. Quote Link to comment https://forums.phpfreaks.com/topic/241762-embedded-flowplayer-preview-image/#findComment-1242016 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.