https://www.icyphoenix.com/viewtopic.php?f=2&t=9800
-----------------------------------
Cristianita
Thu 02 Nov, 2017 19:34

Problems With YouTube BBCode
-----------------------------------
Hi, everybody, God bless you!

I need to reduce the YouTube window, because my portal looks very bad with that, it looks unconfigured:
[img]http://easycaptures.com/fs/uploaded/1206/8461620433.jpg[/img]

I tried with this code:
[code linenumbers=false]<object width="425" height="350"><param name="movie" value="h**p://***.youtube.com/v/{TEXT}"></param><param name="wmode" value="transparent"></param><embed src="h**p://***.youtube.com/v/{TEXT}" type="application/x-shockwave-flash" " allowfullscreen="true" wmode="transparent" width="425" height="350"></embed></object> [/code]But doesn't work, because in Preview appears just the code, not the video.

Even in this forum, this code doesn't work, could you tell me why?

How can I reduce the YouTube Window?


-----------------------------------
Mighty Gorgon
Sat 04 Nov, 2017 11:42

Re: YouTube BBCode
-----------------------------------
You don't need to complicate your life... just specify width and height on YouTube BBCode...

For example:

[codeblock][youtube]3uZLgTx_Sqk[/youtube]
[youtube width=640 height=385]3uZLgTx_Sqk[/youtube]
[youtube width=480 height=288]3uZLgTx_Sqk[/youtube]
[youtube width=320 height=192]3uZLgTx_Sqk[/youtube][/codeblock]


[youtube]3uZLgTx_Sqk[/youtube]
[youtube width=640 height=385]3uZLgTx_Sqk[/youtube]
[youtube width=480 height=288]3uZLgTx_Sqk[/youtube]
[youtube width=320 height=192]3uZLgTx_Sqk[/youtube]


Anyway I will try to add more size and image ratio, to add more flexibility.


-----------------------------------
Cristianita
Sun 05 Nov, 2017 04:53

Re: YouTube BBCode
-----------------------------------
Wow, MG, it is very easy, indeed!

I tried to do this, but for any reason didn't work  :oops: 

Thank you very much  :mryellow:


-----------------------------------
Mighty Gorgon
Sun 05 Nov, 2017 17:53

Re: YouTube BBCode
-----------------------------------
It didn't work because you changed the dimensions... on current Icy Phoenix version only certain dimensions works... so please keep one of those I added in my example.

[codeblock][youtube width=640 height=385]3uZLgTx_Sqk[/youtube]
[youtube width=480 height=288]3uZLgTx_Sqk[/youtube]
[youtube width=320 height=192]3uZLgTx_Sqk[/youtube][/codeblock]

I have updated the code, but still I didn't commit to Github, so you can't use custom dimension yet.


-----------------------------------
Cristianita
Sun 05 Nov, 2017 18:31

Re: YouTube BBCode
-----------------------------------
[quote user="Mighty Gorgon" post="61474"]It didn't work because you changed the dimensions... on current Icy Phoenix version only certain dimensions works... so please keep one of those I added in my example.

[codeblock][youtube width=640 height=385]3uZLgTx_Sqk[/youtube]
[youtube width=480 height=288]3uZLgTx_Sqk[/youtube]
[youtube width=320 height=192]3uZLgTx_Sqk[/youtube][/codeblock]

I have updated the code, but still I didn't commit to Github, so you can't use custom dimension yet.[/quote]Oooooh, I was thinking I was very clumsy  :mryellow:  :mryellow:  :mryellow: Well, maybe a little  :oops: 

Ok, I will keep that information in mind.  :) Thanks [user]2[/user]


-----------------------------------
Mighty Gorgon
Sun 05 Nov, 2017 18:58

Re: Problems With YouTube BBCode
-----------------------------------
I have splitted the topic... please next time open a new one and do not append to other unrelated topics.  :mricy:


-----------------------------------
Cristianita
Sun 05 Nov, 2017 20:14

Re: Problems With YouTube BBCode
-----------------------------------
[quote user="Mighty Gorgon" post="61488"]I have splitted the topic... please next time open a new one and do not append to other unrelated topics.  :mricy:[/quote]I've got it! Sorry...


