Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Navigation
Latest Addons
AD Gallery 31
SyntaxHighlighte... 45
Newsletters v4.03 104
Facebook Like Box 117
Newsletters v4.02 55
Metro 148
Facebook Connect 161
Shoutbox Panel 123
Redactor for PHP... 102
MI Floating Side... 105
Facebook Login/R... 146
Avatar Studio v2.03 176
Relationship Sta... 93
Sexual Orientati... 111
Fisherman 138
Popular Addons
iTheme2 5790
Arise 5780
User Control v1.23 4612
Event Calendar 4038
Photowidget panel 3880
Radio-Theme red2... 3346
Highslide Gallery 3307
CSS/JavaScript D... 3219
Facebook Connect... 2973
Dynamic Menu 2886
Slideshow Lightb... 2712
L-AMANT 2654
Enigma 2628
2Dark 2601
Black 2566
View Thread
Who is here? 1 guest(s)
 Print Thread
Video in Panel
Vyper69
I need to know what I am doing wrong. with this piece of code:

Download source  Code
openside("Featured Video");
<iframe width="560" height="315" src="http://www.youtube.com/embed/fDtkBsWgzWE" frameborder="0" allowfullscreen></iframe>
closeside();




I am trying to place this one video on the home page. I already have a video infusion, but I need this here.
 
http://elink2biz.com
smokeman
Put the code in the echo ""; -statement and change all " with ' :
Download source  Code
openside("Featured Video");
echo "<iframe width='560' height='315' src='http://www.youtube.com/embed/fDtkBsWgzWE' frameborder='0' allowfullscreen></iframe>";
closeside();



 
http://www.phpfusion-tips.dk/
Vyper69
Thanks.

But what about this one. It is a flash ad. It works differant I take it.

Download source  Code
echo"<script type='text/javascript'
src='http://elink2biz.com/themes/TOTHEME/My Ad.swf'>
</script>";




Or do I need all of this.
Download source  Code
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
</head>

<body>
<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="290" height="340">
  <param name="movie" value="My Ad.swf" />
  <param name="quality" value="high" />
  <param name="wmode" value="opaque" />
  <param name="swfversion" value="6.0.65.0" />
  <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
  <param name="expressinstall" value="Scripts/expressInstall.swf" />
  <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
  <!--[if !IE]>-->
  <object type="application/x-shockwave-flash" data="My Ad.swf" width="290" height="340">
    <!--<![endif]-->
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="swfversion" value="6.0.65.0" />
    <param name="expressinstall" value="Scripts/expressInstall.swf" />
    <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
    <div>
      <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
      <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
    </div>
    <!--[if !IE]>-->
  </object>
  <!--<![endif]-->
</object>
<script type="text/javascript">
swfobject.registerObject("FlashID");
</script>



Edited by Vyper69 on 24-11-2012 17:46
 
http://elink2biz.com
smokeman
Try this:
Download source  Code
openside("Flash Ad");

echo "<param name='src' value='http://elink2biz.com/themes/TOTHEME/My Ad.swf' /><embed type='application/x-shockwave-flash' width='300' height='200' src='http://elink2biz.com/themes/TOTHEME/My Ad.swf'></embed>";

closeside();



- and adjust the width + height:
width='300' height='200'
 
http://www.phpfusion-tips.dk/
Vyper69
Thanks smoke worked out great
 
http://elink2biz.com
Craig
http://www.php-fu...d_id=28080
 
http://www.fusiontube.co.uk/
Kvido
I have another problem. I use HTML5. I have a video of the panel for this code:

Download source  Code
opentable("INFO - video");
   ?>
<div class="image">
<div style='position: relative; left: 80px; top: 0px; height: 300px; width: 480px; padding:1em;'>
<video width='400' height='300' controls='controls'>
<source src='http://www.pc-politika.cz/videos/fitnes.files/html5video/fitnes_cumil.mp4' type='video/mp4' >
<source src='http://www.pc-politika.cz/videos/fitnes.files/html5video/fitnes_vychytralec.webm' type='video/webm' />
<source src='http://www.pc-politika.cz/videos/fitnes.files/html5video/fitnes_vychytralec_mpeg4.mp4' type='video/mp4' />
<source src='http://www.pc-politika.cz/videos/fitnes.files/html5video/fitnes_vychytralec.ogv' type='video/ogg'>
<p>HTML5 video není tímto prohlíže&#269;em podporováno. <br> Stáhn&#283;te
<a href='http://easyhtml5video.com'>ogg codec html5</a></p>
  </video>
</div></div></div>
<?
 closetable();









The video shows all brovserech. But not in IE?
How do I fix this?
Thank you very much!
Linux-Ubuntu, Windows7-WinXP SP3, PHP5, HTML5, Mozilla-Firefox 3.6.3, Opera 10.51, IE 8.0.6
http://www.pc-pol...
 
http://www.pc-politika.cz
ctokepa
Kvido wrote:

I have another problem. I use HTML5. I have a video of the panel for this code:

Download source  Code
opentable("INFO - video");
   ?>
<div class="image">
<div style='position: relative; left: 80px; top: 0px; height: 300px; width: 480px; padding:1em;'>
<video width='400' height='300' controls='controls'>
<source src='http://www.pc-politika.cz/videos/fitnes.files/html5video/fitnes_cumil.mp4' type='video/mp4' >
<source src='http://www.pc-politika.cz/videos/fitnes.files/html5video/fitnes_vychytralec.webm' type='video/webm' />
<source src='http://www.pc-politika.cz/videos/fitnes.files/html5video/fitnes_vychytralec_mpeg4.mp4' type='video/mp4' />
<source src='http://www.pc-politika.cz/videos/fitnes.files/html5video/fitnes_vychytralec.ogv' type='video/ogg'>
<p>HTML5 video není tímto prohlíže&#269;em podporováno. <br> Stáhn&#283;te
<a href='http://easyhtml5video.com'>ogg codec html5</a></p>
  </video>
</div></div></div>
<?
 closetable();









The video shows all brovserech. But not in IE?
How do I fix this?
Thank you very much!


Try:
Download source  Code

opentable("INFO - video");
echo "
<div class='image'>
<div style='position: relative; left: 80px; top: 0px; height: 300px; width: 480px; padding:1em;'>
<video width='400' height='300' controls='controls'>
<source src='http://www.pc-politika.cz/videos/fitnes.files/html5video/fitnes_cumil.mp4' type='video/mp4' >
<source src='http://www.pc-politika.cz/videos/fitnes.files/html5video/fitnes_vychytralec.webm' type='video/webm' />
<source src='http://www.pc-politika.cz/videos/fitnes.files/html5video/fitnes_vychytralec_mpeg4.mp4' type='video/mp4' />
<source src='http://www.pc-politika.cz/videos/fitnes.files/html5video/fitnes_vychytralec.ogv' type='video/ogg'>
<p>HTML5 video není tímto prohlíže&#269;em podporováno. <br> Stáhn&#283;te
<a href='http://easyhtml5video.com'>ogg codec html5</a></p>
  </video>
</div></div></div>";
 closetable();




P.S. I strongly suggest reading the whole post especially the last post craig made.
Edited by ctokepa on 28-11-2012 11:18
 
http://fusionlooks.net
Kvido
Oi, oi .... thanks for the code.
But even so the video does not show "the Panel" in the browser IE9 and Firefox.
This video shows only in Opera, Chrome,

The standard web page, however, the video appears in the panel, or perhaps the news you see!.

Merged on Nov 29 2012 at 06:28:59:
The problem is that IE9 supports H.264 codec format and the plugin fails to install. So the video in HTML5 displayed. In other brovserech yes, except Safari.
Edited by Kvido on 29-11-2012 05:28
Linux-Ubuntu, Windows7-WinXP SP3, PHP5, HTML5, Mozilla-Firefox 3.6.3, Opera 10.51, IE 8.0.6
http://www.pc-pol...
 
http://www.pc-politika.cz
ctokepa
Can't you use flash?
 
http://fusionlooks.net
Vyper69
how would you add a iframe to a post instead of a panel.

Download source  Code
<iframe width="640" height="360" src="http://www.prochan.com/embed?f=43f_1354430530" frameborder="0" allowfullscreen></iframe>


 
http://elink2biz.com
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Link panel to another subdomain Content Administration 3 19-05-2013 08:50
Stop Forum Spam Panel Official releases [Panels] 14 12-05-2013 19:51
edit login side panel. Content Administration 3 10-05-2013 18:45
Theme Control Panel Content Administration 2 08-05-2013 13:19
Add buttons to login panel Content Administration 3 06-05-2013 19:24
Official Home of PHP-Fusion uses cookies. Some may already have been set. Read more about our Cookies here.
Please click the button I Consent Cookies to hide this bar and accept our cookies. If you continue to use the site with no action taken, we'll assume that you consent our cookies anyway.
Cookiebar Panel byVenue