Closed hugolpz closed 3 months ago
Assign this issue to me.
Hello @saltykheera , happy to see you around. Given your enthusiasm lets assign this issue to you yes. 👍🏼
screen-recorder-fri-jul-26-2024-18-27-32.webm
@hugolpz does this type of design works for the btns ?
Hello @saltykheera ,
Nice pick for the song clip.
(1) Can you share the code ?
(2) Our Gallery with prev/next > iframe > video element approach is a bit weird it's better if you work on the extension directly. Were you able to load SignIt and inspect the video gallery ? (the thing which contains the iframe)
(3) For prev/next let's follow the no chratjunk principle, minimize the noise and remove Prev
and Next
strings and only keep the arrows.
After verification, the generated html has the following structure :
<div class="signit-inline-container">
<!-- Added comment: arrow prev -->
<span class="oo-ui-widget ..." aria-disabled="true">
<a class="oo-ui-buttonElement-button" ...>
... (prev)
</a>
</span>
<div class="signit-panel-videos-gallery">
<!-- Added comment: iframe 1 -->
<div style="">
<iframe ...></iframe>
par Yug – Vidéo 1 sur 4
</div>
<!-- Added comment: iframe 2 -->
<div style="display: none;">
<iframe ...></iframe>
par Elix – Vidéo 2 sur 4
</div>
<!-- Added comment: iframe 3 -->
<div style="display: none;">
<iframe ...></iframe>
par Caroline – Vidéo 3 sur 4
</div>
<div style="display: none;">
<iframe ...></iframe>
par Roy Batty 82 – Vidéo 4 sur 4
</div>
</div>
<!-- Added comment: arrow next -->
<span class="oo-ui-widget ..." aria-disabled="true">
<a class="oo-ui-buttonElement-button" ...>
... (prev)
</a>
</span>
</div>
I know it relies on ./SignItVideosGallery.js (gallery with prev/next and list of iframe), ./SignItVideosIframe.html (iframe and video). After inspecting it also relies on ooui.js (to generage the html buttons), oojs-ui-wikimediaui.min.css .
The code is more complex due to ooui , but since we want to phase it out, it woulld be a good idea to move those two buttons to simpler html code.
@hugolpz check if this works fine for now then if all ok i will create a PR
Let me check this tonight. ✌🏼
Completed in referenced PR above 🎉🎉
Concerned files
Action
width:250px
for the iframe ; thenwidth:100%
inside the iframe ?)This is likely a classic need with answers online or via ChatGPT-likes.
Current state
All those states are derivated from the 2 files cited above. (My connexion was very slow so the video are black but they are working fine).
Modal
Popup
wpintegration
Arrows over video