Thread Rating:
  • 7 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 YouTube Video Gallery
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #21
RE: YouTube Video Gallery
I've tried to upload a flv file in my localhost, and use a flv player to play the video.
It seems works for me.
   
Not quite sure in a live server.

10-19-2010 04:45 AM
Find all posts by this user Quote this message in a reply
awww Offline
Junior Member
**
Posts: 12
Joined: May 2010
Post: #22
RE: YouTube Video Gallery
well hmm how would i go by editing it to do so? with an uploader
10-19-2010 05:26 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #23
RE: YouTube Video Gallery
I think it is better for you test it first before doing many edit.
I use flowplayer video player to test it:
http://flowplayer.org/
There is a free version there. Download it.
In the download package, there is an example page for it.
You can view the example source code for knowing how to use it.

I'm sorry that I can't provide you a live demo for this. I think my host will kick me out if I do that, because I think it is a very CPU intensive process Biggrin

10-19-2010 05:54 AM
Find all posts by this user Quote this message in a reply
awww Offline
Junior Member
**
Posts: 12
Joined: May 2010
Post: #24
RE: YouTube Video Gallery
yes i know about flowplayer and jwplayer i can set them up fine its the upload feature i want to incorporate with the flow player or jwplayer
10-19-2010 06:02 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #25
RE: YouTube Video Gallery
OK. I'm assuming you already know hot to use the flowplayer.
Just create a File input field type:
Title : Video Uploader
Key : vupload
Applicable Forums : select a forum where you want the application will be applied
Input Field Type : File
Valid File Extensions : flv
Change the maximum file size (in bytes) as your needs.

Your video URL will be like this:

Code:
{$GLOBALS['threadfields']['vupload']['url']}


10-19-2010 06:13 AM
Find all posts by this user Quote this message in a reply
awww Offline
Junior Member
**
Posts: 12
Joined: May 2010
Post: #26
RE: YouTube Video Gallery
would i have to make a mybbcode for flowplayer also like so
Regular Expression
\[vid\](.*?)\[/vid\]

Replacement *
<object><embed src="http://example.com/player.swf" width='530' height='350' bgcolor="#000000" allowscriptaccess='always' allowfullscreen='true' flashvars='file=$1'</embed></object>

?
and when i try to upload an file iam also getting the error     *  Error attaching file for "Video Uploader"; The file upload failed. Please choose a valid file and try again. Error details: There was a problem moving the uploaded file to its destination.
10-19-2010 06:24 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #27
RE: YouTube Video Gallery
There is nothing to do with the BBCode and the embedding tag?

10-19-2010 07:03 AM
Find all posts by this user Quote this message in a reply
awww Offline
Junior Member
**
Posts: 12
Joined: May 2010
Post: #28
RE: YouTube Video Gallery
so what you suggest i do in this situation can you please explain step by step sorry if im bugging you.
10-19-2010 07:05 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Online
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #29
RE: YouTube Video Gallery
(10-19-2010 06:24 AM)awww Wrote:  would i have to make a mybbcode for flowplayer also like so
Regular Expression
\[vid\](.*?)\[/vid\]

Replacement *
<object><embed src="http://example.com/player.swf" width='530' height='350' bgcolor="#000000" allowscriptaccess='always' allowfullscreen='true' flashvars='file=$1'</embed></object>

?
What do you want exactly?
Please be clear on what you want, since no-one can help you if you don't even know what you want.

XThreads doesn't have anything to do with custom MyCode, so if that's what you want, you probably shouldn't be asking here.

(10-19-2010 06:24 AM)awww Wrote:  and when i try to upload an file iam also getting the error     *  Error attaching file for "Video Uploader"; The file upload failed. Please choose a valid file and try again. Error details: There was a problem moving the uploaded file to its destination.
Because you need to upload an .flv file.  Nothing here will automatically convert it for you.


(10-19-2010 05:54 AM)RateU Wrote:  I'm sorry that I can't provide you a live demo for this. I think my host will kick me out if I do that, because I think it is a very CPU intensive process Biggrin
Unlikely to be CPU intensive, unless you're encoding on the server itself, but maybe your host does have terms prohibiting you from doing it either way...

My Blog
10-19-2010 07:58 AM
Find all posts by this user Quote this message in a reply
awww Offline
Junior Member
**
Posts: 12
Joined: May 2010
Post: #30
RE: YouTube Video Gallery
well i have a dual core dedicated server and the file is .flv maybe i need set the permissions for the upload folder is it an upload folder
10-19-2010 08:26 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: