Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Video in Panel

Asked Modified Viewed 4,209 times
V
Vyper69
V
Unprecedented Times call for Unprecedented Measures
  • Senior Member, joined since
  • Contributed 551 posts on the community forums.
  • Started 146 threads in the forums
  • Started this discussions
asked
Senior Member

I need to know what I am doing wrong. with this piece of 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.
0 replies

10 posts

S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
answered
Veteran Member

Put the code in the echo ""; -statement and change all " with ' :
openside("Featured Video");
echo "<iframe width='560' height='315' src='http://www.youtube.com/embed/fDtkBsWgzWE' frameborder='0' allowfullscreen></iframe>";
closeside();
0 replies
V
Vyper69
V
Unprecedented Times call for Unprecedented Measures
  • Senior Member, joined since
  • Contributed 551 posts on the community forums.
  • Started 146 threads in the forums
  • Started this discussions
answered
Senior Member

Thanks.

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

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


Or do I need all of this.
<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 19:46,
0 replies
S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
answered
Veteran Member

Try this:
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'
0 replies
V
Vyper69
V
Unprecedented Times call for Unprecedented Measures
  • Senior Member, joined since
  • Contributed 551 posts on the community forums.
  • Started 146 threads in the forums
  • Started this discussions
answered
Senior Member

Thanks smoke worked out great
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

http://www.php-fusion.co.uk/forum/viewthread.php?thread_id=28080
0 replies
K
Kvido
K
Kvido 10
Linux-Ubuntu 09.03.60, Linux/Ubuntu, PHP5, HTML5, Mozilla-Firefox 3.6.3, Opera 10.51, IE 8.0.6
https://www.nekecamweb.cz
  • Senior Member, joined since
  • Contributed 524 posts on the community forums.
  • Started 108 threads in the forums
answered
Senior Member

I have another problem. I use HTML5. I have a video of the panel for this 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!
0 replies
C
ctokepa
C
  • Member, joined since
  • Contributed 86 posts on the community forums.
  • Started 22 threads in the forums
answered
Member

Quote

Kvido wrote:

I have another problem. I use HTML5. I have a video of the panel for this 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:

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 13:18,
0 replies
K
Kvido
K
Kvido 10
Linux-Ubuntu 09.03.60, Linux/Ubuntu, PHP5, HTML5, Mozilla-Firefox 3.6.3, Opera 10.51, IE 8.0.6
https://www.nekecamweb.cz
  • Senior Member, joined since
  • Contributed 524 posts on the community forums.
  • Started 108 threads in the forums
answered
Senior Member

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 07:28,
0 replies
C
ctokepa
C
  • Member, joined since
  • Contributed 86 posts on the community forums.
  • Started 22 threads in the forums
answered
Member

Can't you use flash?
0 replies
V
Vyper69
V
Unprecedented Times call for Unprecedented Measures
  • Senior Member, joined since
  • Contributed 551 posts on the community forums.
  • Started 146 threads in the forums
  • Started this discussions
answered
Senior Member

how would you add a iframe to a post instead of a panel.

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

Labels

None yet

Statistics

  • Views 0 views
  • Posts 10 posts
  • Votes 0 votes
  • Topic users 5 members

5 participants

C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
S
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
K
K
Kvido 10
Linux-Ubuntu 09.03.60, Linux/Ubuntu, PHP5, HTML5, Mozilla-Firefox 3.6.3, Opera 10.51, IE 8.0.6
https://www.nekecamweb.cz
  • Senior Member, joined since
  • Contributed 524 posts on the community forums.
  • Started 108 threads in the forums
C
C
  • Member, joined since
  • Contributed 86 posts on the community forums.
  • Started 22 threads in the forums
V
V
Unprecedented Times call for Unprecedented Measures
  • Senior Member, joined since
  • Contributed 551 posts on the community forums.
  • Started 146 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet