|
|
| Author |
Message |
girly_01 Private

Joined: 27 Feb 2007 Posts: 5
|
Posted: Tue Feb 27, 2007 8:24 pm Post subject: How to embed a video on a PHP-Nuke News page - basic help |
|
|
|
***someone help!!***
I have no clue whatsoever how to add a video to the homepage (news) of my site. The video will be from either google or you tube. Please can someone give me a complete idiots step by step guide to embedding a video. I would be eternally grateful!!
Embarrassing that I have read a post stating how to do it and it went straight over my head- so please be very basic...but in depth!!!  _________________ ~~girly_01~~ |
|
| Back to top |
|
 |
Truden Major

Joined: 23 Jul 2003 Posts: 280 Location: Johannesburg
|
Posted: Tue Feb 27, 2007 9:11 pm Post subject: |
|
|
|
READ THIS
After you edit config.php, just copy and paste the code in your submit news page. _________________ Thank you for being with you! |
|
| Back to top |
|
 |
girly_01 Private

Joined: 27 Feb 2007 Posts: 5
|
Posted: Tue Feb 27, 2007 9:42 pm Post subject: what've i done now?! |
|
|
|
In my config file it says...
| Code: |
$AllowableHTML = array
("b"=>1,"i"=>1,"u"=>1,"div"=>2,"a"=>2,"em"=>1,"br"=>1,"strong"=>1,"blockquote"=>1,"tt"=>1,"li"=>1,"ol"=>1,"ul"=>1);
|
On the line below I inserted...
"embed"=>1,
"object"=>1,
"param"=>1,
but it didnt work and caused my site to crash- so loaded a saved version of the config file and it is back to normal now. But what went wrong?!
[edit] Included code in code tags. Chris [/edit] _________________ ~~girly_01~~ |
|
| Back to top |
|
 |
Truden Major

Joined: 23 Jul 2003 Posts: 280 Location: Johannesburg
|
Posted: Tue Feb 27, 2007 9:48 pm Post subject: |
|
|
|
Well, your file is structures differently (that line is really one line)
Do it like that:
| Code: | $AllowableHTML = array
("b"=>1,"i"=>1,"u"=>1,"embed"=>1,"object"=>1,"param"=>1,"div"=>2,"a"=>2,"em"=>1,"br"=>1,"strong"=>1,"blockquote"=>1,"tt"=>1,"li"=>1,"ol"=>1,"ul"=>1); |
_________________ Thank you for being with you! |
|
| Back to top |
|
 |
girly_01 Private

Joined: 27 Feb 2007 Posts: 5
|
Posted: Tue Feb 27, 2007 10:11 pm Post subject: Still not working! |
|
|
|
I edited the config file and it worked! When I copy and paste the following into php nuke it doesnt work- it comes up with a box with a cross in it (so it is trying to display it but its not working!)
I REALLY appreciate you helping me out. Do you know why this isn't working?
I am copying and pasting the following:
| Code: |
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/V1j9EAERrhg"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/V1j9EAERrhg" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
|
[edit] Included code in code tags. Chris [/edit] _________________ ~~girly_01~~ |
|
| Back to top |
|
 |
Truden Major

Joined: 23 Jul 2003 Posts: 280 Location: Johannesburg
|
Posted: Tue Feb 27, 2007 10:21 pm Post subject: |
|
|
|
Sometimes the video clips do not work.
Try to see if you can do it with another video from YouTube.
If it still don't work add only this part from the code:
| Code: | | <embed src="http://www.youtube.com/v/V1j9EAERrhg" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed> |
If you have another <object> on the same page, one of them won't work.
That's why you don't use it in your code for the video.
So if it work the second way, for all your video clips you use only the <embed></embed> part of the code. _________________ Thank you for being with you! |
|
| Back to top |
|
 |
girly_01 Private

Joined: 27 Feb 2007 Posts: 5
|
Posted: Tue Feb 27, 2007 10:53 pm Post subject: Still no luck! |
|
|
|
I have tried three different videos, and tried both sets of code and i'm still having no luck.
It keeps coming up with a cross. I really don't know whats going on!! Thanks again for your help  _________________ ~~girly_01~~ |
|
| Back to top |
|
 |
girly_01 Private

Joined: 27 Feb 2007 Posts: 5
|
Posted: Wed Feb 28, 2007 10:41 pm Post subject: Ongoing dilemma! |
|
|
|
I still havent resolved this issue, can any one help??  _________________ ~~girly_01~~ |
|
| Back to top |
|
 |
Truden Major

Joined: 23 Jul 2003 Posts: 280 Location: Johannesburg
|
Posted: Wed Feb 28, 2007 11:42 pm Post subject: |
|
|
|
There could be hundreds of reasons to have a problem, my friend.
No one can guess and give you the right answer.
I don't know your web site, what modules do you use, what code do you use in the files, what server do you use, what account do you have on the server, do you use proxy, do you use black listed IP...
You see?
Provide more details and you can expect some help.
But no one can give you guarantee.
And you can not expect other people to build your web site by "helping" you.
Search the internet, read books and tutorials and try to fix it yourself.
That is the way to learn. _________________ Thank you for being with you! |
|
| Back to top |
|
 |
chris Dark Lord of the Sith

Joined: 10 May 2003 Posts: 6262 Location: Outer Space
|
|
| Back to top |
|
 |
|
|
 |
|
|