Make a Lasting Impression

Get Involved!

Who's Online

12 user(s) are online (6 user(s) are browsing News and Articles)

Members: 1
Guests: 11

skenow, more...
ImpressCMS proudly uses SourceForge
ImpressCMS on Ohloh.net
MyTube 1.05 Final Published by McDonald on 2009/6/27 (2000 reads)
MyTube 1.05 Final

The Final version of MyTube 1.05 has been released.
In this version the dimensions of most players have been set to a 16:9 ratio and most videos can be played automatically.
Three new sources have been added: Megavideo, Viddler and Vimeo.
The Random and Recent horizontal blocks have been altered in such a way that the thumbnails will be displayed in multiple rows.
More information about the changes can be found in the Changelog.

Changelog

· Updated JW FLV Player to version 4.3
· Displaying Rating features can be turned off
· Set (most) players dimensions to 16:9 format (480x295 px)
· Timestamp multilanguage compatible

· Added: option to play videos automatically
· Added: option to set number of category columns
· Added: category column to Main Index listing
· Added: video thumbnail visible in info block when editing video
· Added: support for videoclips from Vimeo
· Added: support for videoclips from Megavideo
· Added: support for videoclips from Viddler

· Fixed: random vertical block not working properly
· Fixed: some typos in css [xoops-magazine/mcdonald]
· Fixed: bug in banner statistics block
· Fixed: category permissions will be deleted when category is deleted
· Fixed: issue with vids displayed twice when using alternative categories
· Fixed: issue with 'Aknowledge' & 'Confirmed' for broken video administration

· Changed: references to class/xoopsmodule.php to kernel/module.php [vaughan]
· Changed: templates/xoopstube_videoload.html and templates/xoopstube_singlevideo.php
· Changed: About page
· Changed: rearranged menu items
· Changed: modified template for random & recent block (horizontal)

Autoplay

In the Preferences is an option that will make the videos from the following sources autoplay: YouTube, MetaCafe, MySpace TV, DailyMotion, Blip.tv, ClipFish, LiveLeak, Maktoob, Vimeo and MyTube.
For the other sources I am still looking for an how-to. Any help with this is welcome!

Click image to enlarge
Click image to enlarge.

Random & Recent horizontal blocks

The number of thumbnails that can be displayed in the Random and Recent horizontal blocks is not limited to width of the column of your theme or screen resolution. The thumbnails will be displayed in multiple rows for these two blocks. See picture at the right.

Installation

MyTube can be installed as any other module. For more details see the enclosed readme.txt file

Download

You can download MyTube 1.05 Final from:
• McDonalds Store at Google Code
• ImpressCMS AddsOns website


Navigate through the articles
Previous article Formulize 3.1 goes Final! Scroll last items-new block for smartsection Next article
Voters total: 0
Average: 0
The comments are owned by the poster. We aren't responsible for their content.
Poster Thread
McDonald
Posted: 2009/6/28 9:32  Updated: 2009/6/28 9:32
Home away from home
Joined: 2007/12/4
From: Abyss
Posts: 1638
 Re: MyTube 1.05 Final
The first typo has been spotted and fixed.

Open the file admin/index.php and find this line:
<div><b>' . _AM_XTUBE_MINDEX_SUBMITTED . ': </b>' . mytube( formatTimestamp( $video_array['date'], $xoopsModuleConfig['dateformat'] ) ) . '</div>


Replace it with this one:
<div><b>' . _AM_XTUBE_MINDEX_SUBMITTED . ': </b>' . mytube_time( formatTimestamp( $video_array['date'], $xoopsModuleConfig['dateformat'] ) ) . '</div>


The download file in McDonalds Store has been re-uploaded.

bleekk
Posted: 2009/6/28 10:56  Updated: 2009/6/28 10:56
Home away from home
Joined: 2008/3/19
From:
Posts: 232
 Re: MyTube 1.05 Final
thank you very much for this module.

I am on a project where I will use this module.
McDonald
Posted: 2009/6/28 13:20  Updated: 2009/6/28 13:20
Home away from home
Joined: 2007/12/4
From: Abyss
Posts: 1638
 Re: MyTube 1.05 Final
One note about the included JW FLV Player.

I've forgotten to inform people about using this player concerning the license. This will be done in next version (already added to trunk version).

You can read the noncommercial license of the JW FLV Player here.



FaYsSaL
Posted: 2009/6/28 14:57  Updated: 2009/6/28 14:57
Home away from home
Joined: 2008/1/9
From:
Posts: 235
 Re: MyTube 1.05 Final
hi, mcdonald ! first i'd like to thank u for this greatt module!
i've a question can u please tell me how to add new sources ! which files should be modified! cuz i've a heavily modified version and i cant update to the new version !

thx in advance
McDonald
Posted: 2009/6/28 16:03  Updated: 2009/6/28 16:03
Home away from home
Joined: 2007/12/4
From: Abyss
Posts: 1638
 Re: MyTube 1.05 Final
Quote:
how to add new sources

I think I've explained this before.

Most of it is handled by the file /include/video.php
Further you have to modify submit.php and /admin/index.php
In these 2 files you will find an array which you have to modify by adding a source and give it a unique number. This number is used as a reference in /include/video.php
FaYsSaL
Posted: 2009/6/28 16:17  Updated: 2009/6/28 16:17
Home away from home
Joined: 2008/1/9
From:
Posts: 235
 Re: MyTube 1.05 Final
thank you very much !
Ronaldus
Posted: 2009/7/9 18:14  Updated: 2009/7/9 18:15
Home away from home
Joined: 2008/1/9
From: Netherlands
Posts: 223
 Re: MyTube 1.05 Final
Great McDonald, thx for this cool module.
I'm experimenting with it right now, and I can't adjust videos through my video management.

Debug gives a fatal error:

Fatal error: Call to undefined function mytube() in /www/htdocs/leefinaandacht/http/modules/mytube/admin/index.php on line 71


Is this easy to fix?

Thx in advance and regards,
Ronaldus
phoenyx
Posted: 2009/7/9 18:46  Updated: 2009/7/9 18:46
Home away from home
Joined: 2009/5/27
From: Germany
Posts: 722
 Re: MyTube 1.05 Final
@Ronaldus: This might be the bug McDonald mentioned in his first comment?
McDonald
Posted: 2009/7/9 18:59  Updated: 2009/7/9 19:01
Home away from home
Joined: 2007/12/4
From: Abyss
Posts: 1638
 Re: MyTube 1.05 Final
Open the file admin/index and in line 71 replace mytube( with mytube_time(.


Also, in the file admin/category.php replace this line
$mytubetree = new MyTubeTree( $xoopsDB -> prefix( 'xoopstube_cat' ), 'cid', 'pid' );

with this one
$mytubetree = new XoopsTree( $xoopsDB -> prefix( 'xoopstube_cat' ), 'cid', 'pid' );


At the moment I am converting MyTube into a ImpressCMS only module. It will have captcha for submit forms and RSS feed. Hopefully I'm able to publish the first RC next month.


EDIT
Phoenyx is typing a little quicker than I do
Ronaldus
Posted: 2009/7/10 0:36  Updated: 2009/7/10 0:36
Home away from home
Joined: 2008/1/9
From: Netherlands
Posts: 223
 Re: MyTube 1.05 Final
Sorry, you're right, I should have read the comments better....
Thx for the replies, now it works!