Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 11:44:01 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
149698 Posts in 21103 Topics by 7538 Members
Latest Member: ionline
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: FLV Video Module  (Read 1564 times)
jcarncross

Offline Offline

Posts: 5


« on: April 29, 2008, 06:31:06 PM »

I am new to this whole PHP MySQL thing, but out of necessity, I have created a module that allows the  uploading of  a 320X240 .flv file. The file can be named, given it a title, thumbnail, author, and comments, and then viewed. This module creates a div with the thumbnail, title, author, description in it, and will pop open the flash player when the link is clicked. Multiple flash video links are displayed in the div which will change to a scrolling box when the content is too much for the set height of the div.
I know that I did many things incorrectly, as I am not familiar with PHP or MySql. I managed to "Cowboy Code" my way through creating the module. I started with the MP3 playlist module and changed it to suit my needs.
I am posting the module hoping to allow others to help me make it as strong, functional and correct as possible.
The Flash video player points to an external .png file to use as the background of the player. This allows for easy customization for other users. I have also included many field values in the code that I didn't use in the admin interface. I am sure that the file upload functionality can be optimized, as well as the deleting of image and flv files from an entry.
Please feel free to test, comment and correct this module.

Thanks for your support as a community.
Jason

« Last Edit: December 14, 2009, 02:59:14 AM by Argos » Logged
Vincent

Offline Offline

Posts: 360


WWW
« Reply #1 on: May 03, 2008, 10:45:22 AM »

Hi Jason,

I haven't tested yet (and don't have time to do so this week), but I wanted you to know that your efforts are appreciated in any case. Hope some other members will help you to make this (and the MP3player) a full grown module.

Regards,

Vincent
Logged
sayf_theone

Offline Offline

Posts: 21


« Reply #2 on: December 12, 2009, 04:06:50 PM »

the player is hidden when i enter the page. how can i put it visible when i enter the page???

the module is great)) thank you Smiley
Logged
jcarncross

Offline Offline

Posts: 5


« Reply #3 on: December 12, 2009, 07:43:25 PM »

It's been several years since I developed the module. I believe that it won't display unless you have content assosciated with it. The module also has to be assigned to a page.
Logged
Waldschwein
Guest
« Reply #4 on: December 12, 2009, 07:50:51 PM »

Hello!

In the upcoming 2.8.1 there is a fvl-player integrated in FCKEditor - but in the SVN (perhaps later on, too...)  you have to remove the "comments".

Try it:
- Download the latest FCKeditor module here http://www.websitebakers.com/pages/admin/admin-tools/fck-editor.php
- Go to the /wb_config/wb_fckeditor.js file and edit it: Line 22 remove the comment (//), line 105 remove the comments also (/* and */). Please make sure you don't have any empty space between the separators , .
- Zip it (if neccessary) and upload / updated the module.
- you should have in the very first line in your FCKeditor the flv player.

Yours Michael
Logged
sayf_theone

Offline Offline

Posts: 21


« Reply #5 on: December 16, 2009, 05:10:19 PM »

do you still have the Flash file for the player.

cause i want to change the font color....


is that possible without the player's flash file???
Logged
jcarncross

Offline Offline

Posts: 5


« Reply #6 on: December 16, 2009, 05:28:51 PM »

I do still have the flash player, however I will have to dig through my archives when I get home. I did not include the ability to specify the font colors, just the background frame image.
Logged
joop12

Offline Offline

Posts: 2


« Reply #7 on: February 13, 2010, 02:39:31 PM »

Hello!

In the upcoming 2.8.1 there is a fvl-player integrated in FCKEditor - but in the SVN (perhaps later on, too...)  you have to remove the "comments".

Try it:
- Download the latest FCKeditor module here http://www.websitebakers.com/pages/admin/admin-tools/fck-editor.php
- Go to the /wb_config/wb_fckeditor.js file and edit it: Line 22 remove the comment (//), line 105 remove the comments also (/* and */). Please make sure you don't have any empty space between the separators , .
- Zip it (if neccessary) and upload / updated the module.
- you should have in the very first line in your FCKeditor the flv player.

Yours Michael


Thank you for this great advice!
I just made a fresh install of WB2.8.1 with FCKEditor 2.9.4 but the FLV-option was still commented in the source.
After emptying the cache buffer of my browser this great options was enabled.
Keep up the good work!
Joop.
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!