Stop data retention! Click here & act! Are you a webmaster and want to participate? Here you can find all necessary material for your website - Willst du auch an der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:
Chris Karakas Online Forum Index Karakas Online
 FAQFAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
How to embed a video on a PHP-Nuke News page - basic help



 
Post new topic   Reply to topic
   Chris Karakas Online Forum Index -> PHP-Nuke Forum RSS Feed of this Forum
Share this page: These icons link to social bookmarking sites where readers can share and discover new web pages.Digg  del.icio.us  tc.eserver.org  Blinklist  Furl  Reddit  Blogmarks  Magnolia  Sphere  Yahoo!  Google  Windows Live  Technorati  Blue Dot  Simpy  Newsvine  Stumble Upon  co.mments.com  Blinkbits  BlogMemes  Connotea  View previous topic :: View next topic  
Author Message
girly_01
Private
Private


Joined: 27 Feb 2007
Posts: 5

PostPosted: Tue Feb 27, 2007 8:24 pm    Post subject: How to embed a video on a PHP-Nuke News page - basic help
Reply with quote

***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!!
Embarassed 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!!! Laughing
_________________
~~girly_01~~
Back to top
View user's profile Send private message
Truden
Major
Major


Joined: 23 Jul 2003
Posts: 280
Location: Johannesburg

PostPosted: Tue Feb 27, 2007 9:11 pm    Post subject:
Reply with quote

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
View user's profile Send private message Visit poster's website
girly_01
Private
Private


Joined: 27 Feb 2007
Posts: 5

PostPosted: Tue Feb 27, 2007 9:42 pm    Post subject: what've i done now?!
Reply with quote

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
View user's profile Send private message
Truden
Major
Major


Joined: 23 Jul 2003
Posts: 280
Location: Johannesburg

PostPosted: Tue Feb 27, 2007 9:48 pm    Post subject:
Reply with quote

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
View user's profile Send private message Visit poster's website
girly_01
Private
Private


Joined: 27 Feb 2007
Posts: 5

PostPosted: Tue Feb 27, 2007 10:11 pm    Post subject: Still not working!
Reply with quote

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
View user's profile Send private message
Truden
Major
Major


Joined: 23 Jul 2003
Posts: 280
Location: Johannesburg

PostPosted: Tue Feb 27, 2007 10:21 pm    Post subject:
Reply with quote

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
View user's profile Send private message Visit poster's website
girly_01
Private
Private


Joined: 27 Feb 2007
Posts: 5

PostPosted: Tue Feb 27, 2007 10:53 pm    Post subject: Still no luck!
Reply with quote

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 Very Happy
_________________
~~girly_01~~
Back to top
View user's profile Send private message
girly_01
Private
Private


Joined: 27 Feb 2007
Posts: 5

PostPosted: Wed Feb 28, 2007 10:41 pm    Post subject: Ongoing dilemma!
Reply with quote

I still havent resolved this issue, can any one help?? Razz
_________________
~~girly_01~~
Back to top
View user's profile Send private message
Truden
Major
Major


Joined: 23 Jul 2003
Posts: 280
Location: Johannesburg

PostPosted: Wed Feb 28, 2007 11:42 pm    Post subject:
Reply with quote

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
View user's profile Send private message Visit poster's website
chris
Dark Lord of the Sith


Joined: 10 May 2003
Posts: 6262
Location: Outer Space

PostPosted: Wed Jan 23, 2008 8:26 am    Post subject:
Reply with quote

Just some related reading from a search I had to do...

How to view video in PHP-Nuke
How to modify PHP-Nuke Forums for Adult Swim embedding
How to embed Google video or YouTube into PHP-Nuke
Allowable HTML in PHP-Nuke
How to use Iframes and Embedded Video in PHP-Nuke
How to insert youtube videos into PHP-Nuke news articles
How to avoid the click to activate YouTube Forums
How to put Flash in PHP-Nuke Content pages
How to insert a video in PHP-Nuke main page
How to pass the path for a video file as a parameter
How to allow YouTube video only in Signatures, with BBCode
How to display embedded video in extended News in PHP-Nuke
How to create Video Library with embedded videos in PHP-Nuke
How to embed Flash in PHP-Nuke
How to display YouTube Videos in PHP-Nuke News
Embedding WinMediaPlayer gets changed to Flash player
How to add video to a PHP-Nuke site
Cannot get Flash to work inside a PHP-Nuke block
How to hide the properties of a link to a streaming video
_________________
Regards

Chris Karakas
www.karakas-online.de
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Share this page: These icons link to social bookmarking sites where readers can share and discover new web pages.Digg  del.icio.us  tc.eserver.org  Blinklist  Furl  Reddit  Blogmarks  Magnolia  Sphere  Yahoo!  Google  Windows Live  Technorati  Blue Dot  Simpy  Newsvine  Stumble Upon  co.mments.com  Blinkbits  BlogMemes  Connotea 
Display posts from previous:   
Post new topic   Reply to topic
   Chris Karakas Online Forum Index -> PHP-Nuke Forum
Page 1 of 1
This page contains valid HTML 4.01 Transitional - click here to check it!
This page contains a valid CSS - click here to check it!

 

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group