MyBB Hacks

Full Version: YouTube Video Gallery
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
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.
[attachment=249]
Not quite sure in a live server.
well hmm how would i go by editing it to do so? with an uploader
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
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
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']}

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.
There is nothing to do with the BBCode and the embedding tag?
so what you suggest i do in this situation can you please explain step by step sorry if im bugging you.
(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...
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
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Reference URL's