Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sidebyside/video not appearing in PDF #2414

Open
Alex-Jordan opened this issue Feb 6, 2025 · 2 comments
Open

sidebyside/video not appearing in PDF #2414

Alex-Jordan opened this issue Feb 6, 2025 · 2 comments

Comments

@Alex-Jordan
Copy link
Contributor

According to schema, a video is a legal child of a sidebyside. However in PDF, such a video is completely missing. For example on page number 159 of the sample article, right before section 26 "Open Problems", the source has a sidebyside with two videos. But there's nothing there in output.

Theory that I have not tested: the videos there are converted to sidebyside in -asssembly (a sidebyside to show their preview and a QR code). But now they exist as a sidebyside within a sidebyside, so are ignored.

I could work on this but I'm not sure what is supposed to happen. Maybe form a stack with the preview image and the QR code?

@rbeezer
Copy link
Collaborator

rbeezer commented Feb 7, 2025

Short answer, schema lags.

QR code and all is too much to pack into a print sidebyside.

So the only thing to do is to fix schema and remove examples.

@Alex-Jordan
Copy link
Contributor Author

No objection here, but I'll share some thoughts I had in the meantime.

  • Is it a matter of time before my phone's camera app does OCR and recognizes a URL I can tap? In other words, is part of the raison d'etre for QR codes going to fade? If so, a stack with an image and a URL underneath, even wrapping lines, is maybe not so bad.
  • In the meantime, I was wondering how a preview image with an embedded QR code might look. Imagine the preview image, but something like the upper right is overlaid with a QR code square. Or the QR code is overlaid in the center of the preview image. Or flop that, and have a bit larger QR code with the video's preview image in the center.
  • Schema might change to disallow video as a sbs panel. But the schema will still allow figure as an sbs panel, and that figure could have a video. I guess that will succeed in a technical sense with conversion to sidebyside/figure/sidebyside and then the preview and QR code images within. But the actual look of it may be pretty bad if so much is crammed into an already narrow figure panel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants