Welcome to Warhammer 40k - Lexicanum! Log in and join the community.

Lexicanum:Videotest

From Warhammer 40k - Lexicanum
Revision as of 08:16, 10 December 2019 by Bigred (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

First tests

{{#evt: service=youtube |id=https://www.youtube.com/watch?v=pSsYTj9kCHE |alignment=right }}


{{#evu:https://www.youtube.com/watch?v=pSsYTj9kCHE |alignment=right }}


<embedvideo service="youtube">https://www.youtube.com/watch?v=pSsYTj9kCHE</embedvideo><


<youtube>https://www.youtube.com/watch?v=pSsYTj9kCHE</youtube>


{{#ev:youtube|pSsYTj9kCHE}}


{{#ev:youtube|https://www.youtube.com/watch?v=pSsYTj9kCHE}}


Simple Method - Embedding a video:

Step 1: find the youtube video page in question - example: https://www.youtube.com/watch?v=umW1Oue8T7c
Step 2: click the "share" button directly below the video to get the various youtube sharing scripts
Step 3: cut the youtube video ID out of video's url at the bottom text field of this box: https://youtu.be/umW1Oue8T7c (cut out the "umW1Oue8T7c")
Step 4: wrap that youtube video ID in the youtube wrapper markup (see below)

My big question is how to further style that embed for things like center jusifying it, or however we want to style it.

Centering I worked out. Simply use <center>...</center>.
No luck so far unfortunately with putting a frame with a caption around it ... --Inquisitor S., Großmeister des Ordo Lexicanum (talk) 17:12, 6 December 2019 (UTC)
I have submitted the bug to the programmer. Those parser calls should be functioning. Will advise what he finds. Bigred (talk) 19:22, 6 December 2019 (UTC)
There was a configuration error with the plugin. It had been cleared up. Parser code should now be working. Give it a try. Bigred (talk) 06:39, 7 December 2019 (UTC)

Second tests

{{#ev:youtube|https://www.youtube.com/watch?v=pSsYTj9kCHE|500|center|TEXT TEXT TEXT}}

TEXT TEXT TEXT
frame not working, only aligns LEFT or RIGHT, but not CENTER, caption working. --Inquisitor S., Großmeister des Ordo Lexicanum (talk) 13:36, 7 December 2019 (UTC)

















Third test

{{#evu:https://www.youtube.com/watch?v=pSsYTj9kCHE |alignment=right |container=frame |description=TEXT TEXT TEXT }}

TEXT TEXT TEXT
frame working, caption working, does not align CENTER. --Inquisitor S., Großmeister des Ordo Lexicanum (talk) 13:39, 7 December 2019 (UTC)

































Fourth test

{{#evt: service=youtube |id=https://www.youtube.com/watch?v=pSsYTj9kCHE |container=frame |alignment=right |description=TEXT TEXT TEXT }}

TEXT TEXT TEXT
Frame working, caption working, still does not align CENTER. --Inquisitor S., Großmeister des Ordo Lexicanum (talk) 13:45, 7 December 2019 (UTC)



































Fifth test

<center> {{#evt: service=youtube |id=https://www.youtube.com/watch?v=pSsYTj9kCHE |container=frame |alignment=center |description=TEXT TEXT TEXT }} </center>

TEXT TEXT TEXT
Frame working, frame centered, caption working, caption still not centered. --Inquisitor S., Großmeister des Ordo Lexicanum (talk) 13:47, 7 December 2019 (UTC)




























Sixth test

<center> {{#evt: service=youtube |id=https://www.youtube.com/watch?v=pSsYTj9kCHE |container=frame |alignment=right |description=TEXT TEXT TEXT }} </center>

TEXT TEXT TEXT

A couple of points. Some of your tests have different behavior on the mobile template. FYI. Also, Is it possible to wrap the entire widget in another wrapper/frame with a controlled size to help with elements that seem to "go wandering off" like the description text? Bigred (talk) 08:16, 10 December 2019 (UTC)