Page 1 of 1

Simple portal, embed live flash feed

Posted: 04 May 2010, 21:05
by Danny Wood
Hi, i have just been given permision from the owner of phatbeats to have there live footage running from my site.
How could i embed this http://phatbeats.co.uk/dance_studio/pag ... _video.php
into the welcome section on the simple portal?

Ive tryed this to get it into the forum, but it dosnt work

Code: Select all

<embed src="http://phatbeats.co.uk/dance_studio/pages/flash_video.php" width="450" height="360" allowscriptaccess="always" allowfullscreen="true" flashvars="width=450&volume=50&displayclick=none&fullscreen=true&file={URL}" />
When he gave me permision all he gave me was this

Code: Select all

<?php include("http://phatbeats.co.uk/dance_studio/pages/flash_video.php") ?>
@ Cisco007 , this is what was making me mad lol. Phpbb.com offerd no support as i referd to simple portal and acording to there team '' There is no MOD/Portal support in this forum '' :(

I have tryed so hard to figure this out on my own as i know it can be done, ive just hit a dead end.

Re: Simple portal, embed live flash feed

Posted: 04 May 2010, 21:20
by cisco007
let me give it a try and will get back to you as soon as i can!

-EDIT-

do you want it to look like this:
[hsimg]http://ciscoasite.zapto.org/upload/imag ... al1273.png[/hsimg]

after the welcome message, but on the welcome block!?

Re: Simple portal, embed live flash feed

Posted: 04 May 2010, 21:21
by Danny Wood
Thank you very much, i realy do appreciate it

Re: Simple portal, embed live flash feed

Posted: 04 May 2010, 21:49
by cisco007
anyways here it goes, open styles/template/simpleportal_body.html

Find:

Code: Select all

<hr />
			<p style="text-align:right; font-style:italic; font-size:14px;">{L_PORTAL_MANAGEMENT}</p>
Add before:

Code: Select all

<div style="text-align: center;"><embed 
  src="http://www.webstreamer.co.uk/mediaplayer.swf" 
  width="380"
  height="320"
  allowscriptaccess="always"
  allowfullscreen="true"
  
flashvars="&type=video&author=Phatbeats&file=stream1&bufferlength=3&volume=100&streamer=rtmp://77.74.195.110/live/dance.flv&autostart=true&displayclick=fullscreen&stretching=exactfit&image=http://www.phatbeats.co.uk/images/offline.jpg&skin=http://www.webstreamer.co.uk/playerskins/pb1.swf"
/></div>
save, upload, and refresh template!

Re: Simple portal, embed live flash feed

Posted: 04 May 2010, 21:53
by Danny Wood
Wow, thank you so much i will try it now :D

Thanks for the great support :thumb:

Re: Simple portal, embed live flash feed

Posted: 04 May 2010, 21:54
by cisco007
no problem let me know if it worked! see were are not such bad guys are we!?

Re: Simple portal, embed live flash feed

Posted: 04 May 2010, 22:17
by Danny Wood
Yes it worked great, thank you so much. And no your not bad guys at all, far from it. Im suprised you were still willing to help me.
I know i have said it alot but i realy do appreciate it.

Im going to keep at trying things myself, as i realy do want to learn. But expect to see a few more of my noob posts if i get stuck lol

Kindest regards