Difference between revisions of "Lexicanum:Videotest"
(Added instructions for how to embed a youtube video.) |
|||
(18 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | ==First tests== | ||
<nowiki>{{#evt: | <nowiki>{{#evt: | ||
service=youtube | service=youtube | ||
Line 43: | Line 44: | ||
------ | ------ | ||
− | Embedding a video: | + | Simple Method - Embedding a video: |
:Step 1: find the youtube video page in question - example: https://www.youtube.com/watch?v=umW1Oue8T7c | :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 2: click the "share" button directly below the video to get the various youtube sharing scripts | ||
Line 52: | Line 53: | ||
My big question is how to further style that embed for things like center jusifying it, or however we want to style it. | 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 <nowiki><center>...</center></nowiki>. | ||
+ | <center><youtube>umW1Oue8T7c</youtube></center> | ||
+ | |||
+ | : No luck so far unfortunately with putting a frame with a caption around it ... --[[User:Inquisitor S.|Inquisitor S., Großmeister des Ordo Lexicanum]] ([[User talk:Inquisitor S.|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. [[User:Bigred|Bigred]] ([[User talk: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. [[User:Bigred|Bigred]] ([[User talk:Bigred|talk]]) 06:39, 7 December 2019 (UTC) | ||
+ | |||
+ | ==Second tests== | ||
+ | <nowiki>{{#ev:youtube|https://www.youtube.com/watch?v=pSsYTj9kCHE|500|center|TEXT TEXT TEXT}}</nowiki> | ||
+ | {{#ev:youtube|https://www.youtube.com/watch?v=pSsYTj9kCHE|500|right|TEXT TEXT TEXT}} | ||
+ | |||
+ | :frame not working, only aligns LEFT or RIGHT, but not CENTER, caption working. --[[User:Inquisitor S.|Inquisitor S., Großmeister des Ordo Lexicanum]] ([[User talk:Inquisitor S.|talk]]) 13:36, 7 December 2019 (UTC) | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | |||
+ | ==Third test== | ||
+ | <nowiki>{{#evu:https://www.youtube.com/watch?v=pSsYTj9kCHE | ||
+ | |alignment=right | ||
+ | |container=frame | ||
+ | |description=TEXT TEXT TEXT | ||
+ | }}</nowiki> | ||
+ | |||
+ | {{#evu:https://www.youtube.com/watch?v=pSsYTj9kCHE | ||
+ | |alignment=right | ||
+ | |container=frame | ||
+ | |description=TEXT TEXT TEXT | ||
+ | }} | ||
+ | |||
+ | :frame working, caption working, does not align CENTER. --[[User:Inquisitor S.|Inquisitor S., Großmeister des Ordo Lexicanum]] ([[User talk:Inquisitor S.|talk]]) 13:39, 7 December 2019 (UTC) | ||
+ | |||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | |||
+ | ==Fourth test== | ||
+ | <nowiki>{{#evt: | ||
+ | service=youtube | ||
+ | |id=https://www.youtube.com/watch?v=pSsYTj9kCHE | ||
+ | |container=frame | ||
+ | |alignment=right | ||
+ | |description=TEXT TEXT TEXT | ||
+ | }}</nowiki> | ||
+ | |||
+ | {{#evt: | ||
+ | service=youtube | ||
+ | |id=https://www.youtube.com/watch?v=pSsYTj9kCHE | ||
+ | |container=frame | ||
+ | |alignment=right | ||
+ | |description=TEXT TEXT TEXT | ||
+ | }} | ||
+ | |||
+ | :Frame working, caption working, still does not align CENTER. --[[User:Inquisitor S.|Inquisitor S., Großmeister des Ordo Lexicanum]] ([[User talk:Inquisitor S.|talk]]) 13:45, 7 December 2019 (UTC) | ||
+ | |||
+ | <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> | ||
+ | |||
+ | ==Fifth test== | ||
+ | <nowiki> | ||
+ | <center> | ||
+ | {{#evt: | ||
+ | service=youtube | ||
+ | |id=https://www.youtube.com/watch?v=pSsYTj9kCHE | ||
+ | |container=frame | ||
+ | |alignment=center | ||
+ | |description=TEXT TEXT TEXT | ||
+ | }} | ||
+ | </center> | ||
+ | </nowiki> | ||
+ | |||
+ | <center> | ||
+ | {{#evt: | ||
+ | service=youtube | ||
+ | |id=https://www.youtube.com/watch?v=pSsYTj9kCHE | ||
+ | |container=frame | ||
+ | |alignment=center | ||
+ | |description=TEXT TEXT TEXT | ||
+ | }} | ||
+ | </center> | ||
+ | |||
+ | :Frame working, frame centered, caption working, caption still not centered. --[[User:Inquisitor S.|Inquisitor S., Großmeister des Ordo Lexicanum]] ([[User talk:Inquisitor S.|talk]]) 13:47, 7 December 2019 (UTC) | ||
+ | |||
+ | <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> | ||
+ | |||
+ | ==Sixth test== | ||
+ | <nowiki> | ||
+ | <center> | ||
+ | {{#evt: | ||
+ | service=youtube | ||
+ | |id=https://www.youtube.com/watch?v=pSsYTj9kCHE | ||
+ | |container=frame | ||
+ | |alignment=right | ||
+ | |description=TEXT TEXT TEXT | ||
+ | }} | ||
+ | </center> | ||
+ | </nowiki> | ||
+ | |||
+ | <center> | ||
+ | {{#evt: | ||
+ | service=youtube | ||
+ | |id=https://www.youtube.com/watch?v=pSsYTj9kCHE | ||
+ | |container=frame | ||
+ | |alignment=right | ||
+ | |description=TEXT TEXT TEXT | ||
+ | }} | ||
+ | </center> | ||
+ | |||
+ | 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? [[User:Bigred|Bigred]] ([[User talk:Bigred|talk]]) 08:16, 10 December 2019 (UTC) |
Latest revision as of 08:16, 10 December 2019
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)
Second tests
{{#ev:youtube|https://www.youtube.com/watch?v=pSsYTj9kCHE|500|center|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 }}
- 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 }}
- 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>
- 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>
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)