the top code is the ORIGINAL iframe code from the index.php file.
<dd><iframe width="221" height="178" src="http://www.youtube.com/embed/<?php echo $video_explode[1];?>" frameborder="0" allowfullscreen></iframe></dd>
</dl>
i thought that if i just replaced this part of url " <?php echo $video_explode[1];? " with the actual part of the youtube embed code url here:
" 0VopFinhWzY ", it would work.
but it doesn't.
<td valign="top" width="42%" class="vidv"><iframe title="" src="http://www.youtube.com/embed/[b]0VopFinhWzY[/b]">" frameborder="0" width="322" height="183"></iframe><br /></td>
<td valign="top" style="padding:0 0 0 2%;"><?php echo $right_cont['description'];?></td>
thanx in advance and if you need more info let me know,
alx
newb query: url doesn't show
Moderator: General Moderators
-
thealexangroup2
- Forum Newbie
- Posts: 3
- Joined: Sun Mar 10, 2013 5:43 pm
Re: newb query: url doesn't show
Look at your HTML.
You didn't quite replace the PHP properly: you left the > in and added an extra quote.
Code: Select all
<iframe title="" src="http://www.youtube.com/embed/0VopFinhWzY">" frameborder="0" width="322" height="183"></iframe>-
thealexangroup2
- Forum Newbie
- Posts: 3
- Joined: Sun Mar 10, 2013 5:43 pm
Re: newb query: url doesn't show
thanx for response,
yeah, sorry, actually, the code i have in cpanel looks like this:
<td valign="top" width="42%" class="vidv"><iframe title="" src="http://www.youtube.com/embed/0VopFinhWzY" frameborder="0" width="322" height="183"></iframe>
and it still doesn't show.
incidentally, this code shows identically in 2 files:
index.php
manage_video.php
now the thing is, when i check the source code of the page, it doesn't show. it still shows the original code, this:
<iframe title="" src="http://www.youtube.com/embed/Jcg-9YCx3G ... S&hl=en_US" frameborder="0" width="322" height="183"></iframe>
even though in my cpanel, the new code is there. i purged/cleared cache, etc. but still same.
yeah, sorry, actually, the code i have in cpanel looks like this:
<td valign="top" width="42%" class="vidv"><iframe title="" src="http://www.youtube.com/embed/0VopFinhWzY" frameborder="0" width="322" height="183"></iframe>
and it still doesn't show.
incidentally, this code shows identically in 2 files:
index.php
manage_video.php
now the thing is, when i check the source code of the page, it doesn't show. it still shows the original code, this:
<iframe title="" src="http://www.youtube.com/embed/Jcg-9YCx3G ... S&hl=en_US" frameborder="0" width="322" height="183"></iframe>
even though in my cpanel, the new code is there. i purged/cleared cache, etc. but still same.
Re: newb query: url doesn't show
Well, either you're editing the wrong file or there's some caching in place still showing the old version. Since it's the result of PHP code I'm going to guess the former.
-
thealexangroup2
- Forum Newbie
- Posts: 3
- Joined: Sun Mar 10, 2013 5:43 pm
Re: newb query: url doesn't show
requinix,
your reply got me to looking at other files and it turned out there was an error in the profile.php code. so that got updated and all is good in the world once more.
your reply got me to looking at other files and it turned out there was an error in the profile.php code. so that got updated and all is good in the world once more.