MemHT Portal is a Free PHP CMS and Blog
It permit the creation and the management online of websites with few and easy steps.
It's completely customizable, expandable and suitable for all needs.
A2Hosting
Moderators: Moderators
Page 1/2 1 2 >
Forum RSS feedReply
YouTube videos in Forums
AuthorText
MaRiuSik
Junior Member

Posts: 17
Contributes: 17

Gender: _MALE_
Online: No
Date: 11/03/2010 00:13
YouTube videos in Forums
#post23671
Site url: http://mary-jane.mariusik.net
MemHT version: 4.0.1.
Hosting OS: Windows
PHP and MySQL versions: Dunno right now.
Installed addons/scripts: YouTube
Error/Problem: None

Hello to everyone! I have a small problem. When i'm tryin' to put a video from youtube on my forum, no video appears. I used but it doesn't work.

Thanks.

Delete Edit Quote
 
slashado
Donator

Posts: 323
Contributes: 350

Gender: _MALE_
Online: No

Version: 4.0.1
Country: Brasil
Languages: Português, Inglês (via Google), e todas as outras (via google)
Date: 17/03/2010 02:48
Re: YouTube videos in Forums
#post23699
Try to use it as follows:
code
[youtube=250,250]http://www.youtube.com/watch?v=ZQornf7VNq8[/youtube]


Edited: 17/03/2010 02:52
..::MS Criações::.. - Criação e Hospedagem de Websites!
..::Memht BRASIL::.. - Comunidade brasileira do MemHT!
Soon, Virtual Store with Modules and Templates for MemHT!
Eager for MemHT 5
Delete Edit Quote
 
hirtons
Donator

Posts: 64
Contributes: 64

Gender: _MALE_
Online: No

Languages: English
Date: 19/03/2010 00:15
Re: YouTube videos in Forums
#post23714
try to get the link from the embed code
like this
quote
http://www.youtube.com/v/5lxM1OigY4Y

code
<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/5lxM1OigY4Y&hl=sv_SE&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/5lxM1OigY4Y&hl=sv_SE&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7243
Contributes: 4800

Gender: _MALE_
Online: No

Languages: English, Italiano, Македонски, Српски
Date: 31/03/2010 13:03
Re: YouTube videos in Forums
#post23822
Correct, you need to use the video ID from the embed code, not from the browser url (It's well indicated in the forums javascript button: EMBED)
Edited: 31/03/2010 13:04
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
afaaro
Junior Member

Posts: 22
Contributes: 22

Gender: _MALE_
Online: No

Languages: English, Arabic, Somali
Date: 03/06/2010 15:15
Re: YouTube videos in Forums
#post24039
Greeting! to all

Is there any posibility to add more value on the database like blip and dailymotion etc...
Delete Edit Quote
 
afaaro
Junior Member

Posts: 22
Contributes: 22

Gender: _MALE_
Online: No

Languages: English, Arabic, Somali
Date: 20/07/2010 20:57
Re: YouTube videos in Forums
#post24160
I am still waiting is there any solution for addign more provider like blip and how?

thanks in advance
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7243
Contributes: 4800

Gender: _MALE_
Online: No

Languages: English, Italiano, Македонски, Српски
Date: 21/07/2010 16:26
Re: YouTube videos in Forums
#post24164
Hi

By modifying inc/inc_bbcode.php you can add all video providers you want.

In the attachment of the follow link i added Vimeo for example

http://www.memht.com/forum_thread_24149_Vimeo-BBCode.html#post24159
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
afaaro
Junior Member

Posts: 22
Contributes: 22

Gender: _MALE_
Online: No

Languages: English, Arabic, Somali
Date: 21/07/2010 21:17
Re: YouTube videos in Forums
#post24165
Hi mem

Thank you for your reply but what i meant was in Youtube addon is just using a youtube provider and what i was thinking was how can I add blip.
Delete Edit Quote
 
afaaro
Junior Member

Posts: 22
Contributes: 22

Gender: _MALE_
Online: No

Languages: English, Arabic, Somali
Date: 26/07/2010 19:58
Re: YouTube videos in Forums
#post24180
I have added in the database like this:

('code', '<object width="{{W}}" height="{{H}}"><param name="movie" value="http://www.youtube.com/v/{{VIDEOID}}"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/{{VIDEOID}}" type="application/x-shockwave-flash" wmode="transparent" width="{{W}}" height="{{H}}"></embed></object>'),
('blip', '<object type="application/x-shockwave-flash" data="http://blip.tv/scripts/flash/showplayer.swf?file=http%3A//blip.tv/rss/flash/{{VIDEOID}}&autostart=false" width="{{W}}" height="{{H}}" allowfullscreen="true" id="showplayer"><param name="movie" value="http://blip.tv/scripts/flash/showplayer.swf?file=http%3A//blip.tv/rss/flash/{{VIDEOID}}&autostart=false" /><param name="quality" value="best" /></object>')";

but how can I use them when playing blip
Edited: 16/10/2010 14:41
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7243
Contributes: 4800

Gender: _MALE_
Online: No

Languages: English, Italiano, Македонски, Српски
Date: 28/07/2010 18:27
Re: YouTube videos in Forums
#post24191
You need to add the bbcode pattern too, something like [blip w,h]..[/blip]. Check the file better and let me know if you can't fix it Smile
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
Reply
Page 1/2 1 2 >
Tags Cloud
Twitter updates...
Help MemHT Portal
Navigator
Users Block
Hi Guest
IP: 38.107.179.234

Username
Password
MemHT Wiki
Language
MemHT Portal is a free software released under the GNU/GPL License by Miltenovik Manojlo