- Publicity: Public Only All
conference-procs.tcl
Conference-specific
- Location:
- packages/xowiki/tcl/conference-procs.tcl
Procedures in this file
Detailed information
[ hide source ] | [ make this the default ]Content File Source
::xo::library doc { Conference-specific } namespace eval ::xowiki::includelet { ::xowiki::IncludeletClass create conference-stream \ -superclass ::xowiki::Includelet \ -parameter { {__decoration plain} } \ -ad_doc { Conference Live Stream } conference-stream instproc render {} { :get_parameters security::csp::require frame-src https://www.youtube-nocookie.com template::head::add_javascript -script [subst { window.addEventListener('load', (e) => { const el = new bootstrap.Modal(document.querySelector('#youtube-consent')); el.show(); }); }] template::add_event_listener \ -selector {[data-bs-dismiss="modal"]:not(#youtube-consent-confirm)} \ -script [subst { location.assign("/conf2024/info"); }] set modal [::xowiki::bootstrap::modal_dialog \ -title [subst {<span><i class="bi bi-info-square"></i></span> YouTube}] \ -id "youtube-consent" \ -body [subst { <div class="info-text"> We've embedded content from YouTube here.<br> Hereby, we want to inform you that YouTube may collect personal data and track your viewing behaviour, however, in order to protect your privacy, we have enabled Privacy Enhanced Mode for the embedded YouTube players.<br> For further information, please visit<br> <a href="https://www.youtube.com/t/privacy">https://www.youtube.com/t/privacy</a> <a href="https://support.google.com/youtube/answer/171780?hl=en#zippy=%2Cturn-on-privacy-enhanced-mode"> https://support.google.com/youtube/answer/171780?hl=en#zippy=%2Cturn-on-privacy-enhanced-mode</a> </div>}]] return [subst { <div class="mb-3"> <h3 class="mb-3">Day 1</h3> <div class="mb-3" style="display:inline-block;position:relative;"> <iframe width="1280" height="720" src="https://www.youtube-nocookie.com/embed/UI0jE3U-ICI" title="OpenACS and Tcl/Tk Conference 2024 Day 1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> </div> </div> </div> <a type="button" class="btn btn-primary btn-lg" href="/conf2024/info/">Home</a> $modal}] } } namespace eval ::xowiki::includelet { ::xowiki::IncludeletClass create vimeo-stream \ -superclass ::xowiki::Includelet \ -parameter { {__decoration plain} } \ -ad_doc { Conference Live Stream } vimeo-stream instproc render {} { :get_parameters security::csp::require frame-src https://vimeo.com return [subst { <div class="mb-9" style="padding:56.25% 0 0 0;position:relative;"> <iframe src="https://vimeo.com/event/4438502/embed/add057e190" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen style="position:absolute;top:0;left:0;width:100%;height:100%;"> </iframe> </div> <div class="form-text"> <span><i class="bi bi-info-square"></i></span> If you would like to browse the slides yourself during the sessions, please find them in the corresponding session entry in the <a href="https://openacs.org/conf2024/info/schedule">conference schedule</a>. </div> <div class="form-text mb-3"> <span><i class="bi bi-info-square"></i></span> Please note that the video feed will be delivered with a delay of approx. 30 sec. </div> <a type="button" class="btn btn-primary btn-sm" href="/conf2024/info/">Back to Home</a>}] } } ::xo::library source_dependent # # Local variables: # mode: tcl # tcl-indent-level: 2 # indent-tabs-mode: nil # End: # use this to add the chat