I have been suffering from finding a PDF presentation viewer for beamer output on Windows that can play embedded videos (by media9 package) and show the elapsed presentation time.

I have tried the following:

Adobe Reader with tdclock package:

  • Pros: plays videos and loads tdclock properly
  • Cons: sluggish and crashes frequently

Foxit Reader with tdclock package:

  • Pros: smooth viewer and plays videos

  • Cons: can't load tdclock clock/stopwatch despite enabling javascript


  • Pros: fast and has internal clock

  • Cons: can't play embedded videos

Dual-Screen PDF Viewer:

  • Pros: very fast, has internal clock and dual screen support

  • Cons: can't play embedded videos

Is there any other solution that can properly play embedded videos and show elapsed presentation time flawlessly and smoothly on Windows?

P.S. when I mean tdclock javascript is not loaded, those empty red boxes show up instead of the clock/stopwatch,

enter image description here

and when embedded video can't be loaded, a white page shows up.

1 Answer 1


I think I figured out what made tdclock not load properly when using Foxit Reader.

I tried to follow the same way in this answer to add a clock in the footline instead of headline. However, it works only in Adobe Reader and failed in Foxit Reader (I don't understand why).

It seemed that the proper way to load tdclock clock/stopwatch is to place \initclock after \begin{document} as said in the package documentation not inside the preamble definition of headline/footline.

5 Macros

The clock must be initialized with \initclock, usually at the beginning of the document, after \begin{document}.

Before testing the following MWE in Foxit Reader, make sure you use the last version of free Foxit Reader as of today. After installation, you may need to mark the document file/folder as trusted in Preferences > Security and make sure that javascript is enabled in Preferences > Trust Manager.









It seems that Foxit Reader is the best choice for me to smoothly view a presentation with embedded videos and tdclock objects.

  • 1
    Extract from tdclock documentation (p.4): "The clock must be initialized with \initclock, usually at the beginning of the document, after \begin{document}." Jul 29, 2016 at 17:25
  • Exactly that is what I read to fix my problem. Your comment reminded me to quote it inside the answer. Thanks.
    – Diaa
    Jul 29, 2016 at 17:33
  • Ok. So, your sentence about package documentation is ambiguous... Jul 29, 2016 at 17:47
  • @DiaaAbidou : Your code doesn't work for me. Can you please provide the complete code, aka MWE ?
    – AlexG
    Jul 29, 2016 at 19:19
  • @AlexG, check my MWE. Does it work?
    – Diaa
    Jul 29, 2016 at 19:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.