ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Aditya Mahajan <adityam@umich.edu>
Subject: Re: autostart included video
Date: Thu, 19 Nov 2020 11:22:50 +0100	[thread overview]
Message-ID: <23922e46-3635-aad8-5832-6bb195ab058a@xs4all.nl> (raw)
In-Reply-To: <nycvar.YAK.7.78.908.2011190211060.1368898@nqv-guvaxcnq>

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
___________________________________________________________________________________

  reply	other threads:[~2020-11-19 10:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-19  7:12 Aditya Mahajan
2020-11-19 10:22 ` Hans Hagen [this message]
2020-11-19 17:10   ` Aditya Mahajan
2020-11-19 10:28 ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=23922e46-3635-aad8-5832-6bb195ab058a@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).