* autostart included video
@ 2020-11-19 7:12 Aditya Mahajan
2020-11-19 10:22 ` Hans Hagen
2020-11-19 10:28 ` Hans Hagen
0 siblings, 2 replies; 4+ messages in thread
From: Aditya Mahajan @ 2020-11-19 7:12 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
I use \externalfigure[filename.mp4] to include a video in a presentation. Is it possible to autostart the video automatically when the page is loaded?
Thanks,
Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: autostart included video
2020-11-19 7:12 autostart included video Aditya Mahajan
@ 2020-11-19 10:22 ` Hans Hagen
2020-11-19 17:10 ` Aditya Mahajan
2020-11-19 10:28 ` Hans Hagen
1 sibling, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2020-11-19 10:22 UTC (permalink / raw)
To: mailing list for ConTeXt users, Aditya Mahajan
On 11/19/2020 8:12 AM, Aditya Mahajan wrote:
> I use \externalfigure[filename.mp4] to include a video in a presentation. Is it possible to autostart the video automatically when the page is loaded?
Video (and audio) and acrobat ... any browser can play a video but it
seems too complex for adobes pdf viewers and technology
It all started out simple: there was a video annotation with associated
controls. It uses the quicktime plugin and when (i guess) apple and
adobe fell out of love that one was ditched. Goodbye easy media support;
it worked well and was quite robust too.
In the years following that mechanisms came and went and we got this
redicoulous complex (split annotation) media subystem that, guess what,
depended on flash to show something at all. One had to embed some flash
wrapper. Then adobe fell out of love with flash.
(There was actually a time when SMIL was supported which was quite ok,
but all my old demos (mediashow.pdf etc) now pop up with missing
players. At least it was some kind of (probably as usual some reversed
engineered application xml but I 'm not sure about that).
Now, although I never really needed it. I spent a lot of time on all
that and end of this year flash will be removed so I'll probably remove
all that stuff from lmtx too. Goodbye audio and video ... I'd better
spent my time on reading books, listening music or watching movies.
I really don't understand those policies. Come up with a trivial
annotation for video and audio, take a few stable formats and keep
supporting that. How hard is that? Plenty of libraries for that too.
I guess that the next thing to fade away is this 3d subsystem, and after
that widgets and javascript (some already gone).
So, probably best is some hyperlink to a simple local webpage that pops
up the video. Don't rely on acrobat (and adobe) for long term support of
anything beyond text. It never pays back to waste time on dynamic
annotations, widgets etc. It probably never pays back to invest in
anything those large companies come up with anyway. Don't buy into the
'there's a large company (or organization) behind it so it is okay and
will stay'.
(Actually, anything beyond text and graphics rendering in pdf is kind of
weird. So, let's for instance not try to analyze tagged pdf here.)
I'll probably add some code for url pop ups for media ... makes more
sense. Delegate to a browser. But maybe it's better to first move the
fancy annotation stuff to the attic.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: autostart included video
2020-11-19 7:12 autostart included video Aditya Mahajan
2020-11-19 10:22 ` Hans Hagen
@ 2020-11-19 10:28 ` Hans Hagen
1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2020-11-19 10:28 UTC (permalink / raw)
To: mailing list for ConTeXt users, Aditya Mahajan
On 11/19/2020 8:12 AM, Aditya Mahajan wrote:
> I use \externalfigure[filename.mp4] to include a video in a presentation. Is it possible to autostart the video automatically when the page is loaded?
This works here:
\setupinteraction[state=start]
\starttext
\gotobox{\externalfigure[cow.pdf]}[url(woodwork.mp4)]
\stoptext
instead of cow take a screendump of the first frame of the movie.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: autostart included video
2020-11-19 10:22 ` Hans Hagen
@ 2020-11-19 17:10 ` Aditya Mahajan
0 siblings, 0 replies; 4+ messages in thread
From: Aditya Mahajan @ 2020-11-19 17:10 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Thu, 19 Nov 2020, Hans Hagen wrote:
> On 11/19/2020 8:12 AM, Aditya Mahajan wrote:
>
> > I use \externalfigure[filename.mp4] to include a video in a presentation. Is
> > it possible to autostart the video automatically when the page is loaded?
> Video (and audio) and acrobat ... any browser can play a video but it seems
> too complex for adobes pdf viewers and technology
>
> [....]
I understand and am pretty frustrated with Adobe (they had decent support on linux but simply gave up at some stage)....However, sometimes videos are the best way to present some information in a presentation. The method that you sent in the other message:
\gotobox{\externalfigure[cow.pdf]}[url(woodwork.mp4)]
works (clicking on the file opens the file in an external viewer) but I prefer to show the video inside the PDF.
My current solution is to use pdfpc (https://pdfpc.github.io/), which is able to play the usual \externalfigure[filename.mp4] videos well...just that I need to click the video in order to start it. They do have a latex specific method to autostart a video...I'll try to see if I can figure out what is the actual PDF code that needs to be embedded and try to replicate it in context.
Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-11-19 17:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-19 7:12 autostart included video Aditya Mahajan
2020-11-19 10:22 ` Hans Hagen
2020-11-19 17:10 ` Aditya Mahajan
2020-11-19 10:28 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).