User talk:Abcboy: Difference between revisions

m
→‎Templates help: pinging discussion
m (→‎Templates help: pinging discussion)
(9 intermediate revisions by 2 users not shown)
Line 95: Line 95:


Hi. [[:File:Homecoming key art 2.png]] in full resolution can be seen [https://yt3.ggpht.com/eE05fR_dAlDJHoj22P16FmHzocjhzb4p1E0YLcIOttO1fIpzhtzA7ZHO8B8iU6RrpPPfpI-fhrn8YQ=s10000 here] from this YouTube [https://www.youtube.com/channel/UCFctpiB_Hnlk3ejWfHqSm6Q/community?lb=UgkxPbJOsb7jYWbe1Ns9eK0LpidGdeCYjebA post]. I would upload it myself, but the file is bigger than 8 MB even after compressing. Could you upload it? Thanks! --[[User:RafaelGN|RafaelGN]] ([[User talk:RafaelGN|talk]]) 03:40, 15 February 2024 (UTC)
Hi. [[:File:Homecoming key art 2.png]] in full resolution can be seen [https://yt3.ggpht.com/eE05fR_dAlDJHoj22P16FmHzocjhzb4p1E0YLcIOttO1fIpzhtzA7ZHO8B8iU6RrpPPfpI-fhrn8YQ=s10000 here] from this YouTube [https://www.youtube.com/channel/UCFctpiB_Hnlk3ejWfHqSm6Q/community?lb=UgkxPbJOsb7jYWbe1Ns9eK0LpidGdeCYjebA post]. I would upload it myself, but the file is bigger than 8 MB even after compressing. Could you upload it? Thanks! --[[User:RafaelGN|RafaelGN]] ([[User talk:RafaelGN|talk]]) 03:40, 15 February 2024 (UTC)
:Updated. --[[User:Abcboy|Abcboy]] ([[User talk:Abcboy|talk]]) 04:45, 15 February 2024 (UTC)
== Templates help ==
Would you consider adding <code>autoplay=0</code> to [[Widget:Bilibili]] to stop the video from autoplaying everytime the page or diff is loaded? [https://discuss.logseq.com/t/how-to-stop-videos-from-autoplaying-when-using-video-macros/16243/4 Here's] where I got this solution from. → [[User:PikaTepig999|<span style="color:#000;">Pika</span>]][[User talk:PikaTepig999|<span style="color:#000;">Tepig</span>]][[Special:Contribs/PikaTepig999|<span style="color:#000;">999</span>]] 18:38, 19 February 2024 (UTC)
:Done, thanks. --[[User:Abcboy|Abcboy]] ([[User talk:Abcboy|talk]]) 18:46, 19 February 2024 (UTC)
::Thanks for trying that out, but unfortunately I don't think it worked. Maybe autoplay was supposed to be a separate attribute of the iframe rather than something to be added to the url? → [[User:PikaTepig999|<span style="color:#000;">Pika</span>]][[User talk:PikaTepig999|<span style="color:#000;">Tepig</span>]][[Special:Contribs/PikaTepig999|<span style="color:#000;">999</span>]] 18:57, 19 February 2024 (UTC)
:::Hm, it's working for me, the video starts paused. "autoplay" isn't a valid attribute for an iframe so I wouldn't expect that to work. --[[User:Abcboy|Abcboy]] ([[User talk:Abcboy|talk]]) 19:06, 19 February 2024 (UTC)
::::Weirdly, had to purge the page a second time before it worked. Sorry about that and thanks! → [[User:PikaTepig999|<span style="color:#000;">Pika</span>]][[User talk:PikaTepig999|<span style="color:#000;">Tepig</span>]][[Special:Contribs/PikaTepig999|<span style="color:#000;">999</span>]] 19:17, 19 February 2024 (UTC)
Hello again. Would it be a good idea to add a caption (like [[Special:Diff/3640529|this one]]) to [[Template:YouTubeEmbed]] (and [[Template:YouTubeVid]], [[Template:BilibiliEmbed]], etc) so that all the captions can be moved into the template itself; so that there is no need for extra div wrappers when trying to make the layout responsive? (Also, thank you for mainspacing [[Special:Redirect/log/1145833|User:PikaTepig999/PokéMiku nav]]) → <span class="blacklinks">[[User:PikaTepig999|Pika]][[User talk:PikaTepig999|<sup>Tepig</sup>]][[Special:Contribs/PikaTepig999|<sub>999</sub>]]</span> 05:50, 11 March 2024 (UTC)
:Can I ask where captions are currently being used with that template? I think it's a good idea, but I want to see it in actual usage and see if there's any potential issues that should be addressed before adding it to other templates. --[[User:Abcboy|Abcboy]] ([[User talk:Abcboy|talk]]) 15:53, 11 March 2024 (UTC)
::Pages where both English and Japanese videos are embedded, such as [[Challenge the World!#Videos]]. They are separate sections for each videos. [[Detective Pikachu & the Mystery of the Missing Flan#Video]] used to be the same, until I [[Special:Diff/3923608|added]] a flex wrapper to display them both in the same row. A sample of code currently needed for such a display is (cut out the non-essential parts):
<pre style=margin-left:3.2em;>
<div style="display: flex; justify-content: space-evenly; align-items: center; flex-wrap:wrap;">
<div style="margin:auto">
English
{{YouTubeEmbed}}
</div>
<div style="margin:auto">
Japanese
{{YouTubeEmbed}}
</div>
</div>
</pre>
::but if the template itself has a caption parameter, it can just be
<pre style=margin-left:3.2em;>
<div style="display: flex; justify-content: space-evenly; align-items: center; flex-wrap:wrap;">
{{YouTubeEmbed|caption=English}}
{{YouTubeEmbed|caption=Japanese}}
</div>
</pre>
::This would work similar to the Pokemon/9 template, where I had to [[Special:Diff/3889975|wrap the caption in a div]] for the [[Special:Diff/3913501|responsive layout]], but now it can just be [[Special:Diff/3952982|one container]]. → <span class="blacklinks">[[User:PikaTepig999|Pika]][[User talk:PikaTepig999|<sup>Tepig</sup>]][[Special:Contribs/PikaTepig999|<sub>999</sub>]]</span> 17:23, 11 March 2024 (UTC)
:::Did you have a chance to look into this? <span class="blacklinks">[[User:PikaTepig999|Pika]][[User talk:PikaTepig999|Tepig]][[Special:Contribs/PikaTepig999|999]]</span> 22:27, 10 April 2024 (UTC)