ebarboni opened a new pull request, #13:
URL: https://github.com/apache/netbeans-antora/pull/13

   Create a new tag for our site that permit generation of html that is 
compatible with privacy statement.
   Video cannot be directly embedded and usr must consent before launching.
   
   basicaly replace **video::** by **avideo::** 
   
   Example here, on one page:
   
   https://github.com/apache/netbeans-antora-site/pull/16/
   Text at the bottom of the video can be shown on this screenshot
   
![image](https://github.com/apache/netbeans-antora/assets/6940099/c413d893-b3e5-4f59-a8fa-c35d5fce65ab)
   
   I didn't yet tackle css stuff and the js is a bit brutal.
   
   The generation try to use asciidoc itself to help resolving the image. (If 
we miss an image we have an error on antora level that help finding missing one)
   
   
   Sidenote:
   https://github.com/apache/netbeans-antora-site/pull/16/ contains image wget 
from this pattern https://i1.ytimg.com/vi/<videocode>/hq1.jpg I hope this is ok 
to server from our site.
   
   In the current website video are blocked by **CSP**. This PR may allow to 
further customise our output if we need a link instead of embedded video.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to