You have the right video for your brochure, your magazine or your training material – and it’s on YouTube. So you put a link into the PDF, perhaps on a still image with a play symbol. A reader clicks it, a new tab opens, YouTube starts – and your document is one tab further away, next to a list of suggested videos.
In this guide, you’ll learn why a YouTube video in a PDF doesn’t play, which workarounds people use and how the link in your PDF can play the video right on the page – in every browser and on every phone, without changing your file. The same works for Vimeo.
Why a YouTube video doesn’t play in a PDF
A PDF is made for pages that look the same everywhere. A YouTube video isn’t a file you could put into it, but a player on YouTube’s website – so the most a PDF can hold is a link to it.
Older tricks that showed web videos inside a PDF relied on Flash, which no browser or PDF reader supports any more. Video files embedded in the PDF itself – so-called rich media – still exist, but the PDF viewers in web browsers and on phones usually ignore them.
The usual workarounds – and their catch
- A still image with a link: a frame of the video with a play symbol, linked to YouTube. It looks like a video, but a click opens YouTube in a new tab, and the reader leaves your document.
- A QR code: useful in print, awkward on screen – on a phone, readers would have to scan their own display.
- An embedded video file: the video itself goes into the PDF. The file grows by many megabytes, and most readers still see only a still image, because browsers and phone apps don’t play it.
All three have the same weakness: your document and your video never come together.
Keep the link – and let it play on the page
Viewnamic plays the link you already have, right where it is. Upload your PDF, switch on one setting, and from then on a click on a YouTube link in your PDF starts the video in the publication instead of opening YouTube in a new tab. Vimeo links work the same way. Your PDF file stays exactly as you designed it.
This is what your readers see:
- The video on the page: if the link’s area is large enough – at least 200 × 200 pixels on the reader’s screen, the size YouTube asks for its player – the video plays right in that area, like a video placed on the page.
- A floating window for small links: a text link, a small button or a video area on a phone opens the video at once in a floating window over the viewer. It keeps playing while readers turn pages, scroll or zoom, and they can move it, resize it and close it.
- YouTube’s own controls: play, pause, jump and full screen work as usual. Starting a video pauses the other videos and audio of the publication.
- YouTube itself, if readers prefer it: whoever holds Ctrl or ⌘ while clicking opens the video on YouTube in a new tab.
It works wherever your publication is read: through its link, on your public page and in the embed on your website – only in a very small embed, the link opens YouTube in a new tab. In a digital magazine, for example, the interview plays right next to the article about it.
Which links play
Links to a single YouTube video play: normal video links (youtube.com/watch?v=…), short links (youtu.be/…), YouTube Shorts in an upright window, live videos and embed addresses. A start time in the link, such as ?t=90, is kept, so the video starts right where the interesting part begins. Links to a channel or a playlist stay normal links.
The video must allow embedding. That’s YouTube’s default; in YouTube Studio, you find it as “Allow embedding” in the video’s details. Private or removed videos can’t play – readers then see “Open on YouTube”.
How to play YouTube links in your PDF in four steps
- Keep your links: YouTube links that you set in InDesign, PowerPoint, Word or Canva usually stay in the exported PDF. Just check that your export keeps hyperlinks – in InDesign’s print export, for example, the “Hyperlinks” option.
- Upload the PDF in the Viewnamic Workspace.
- Switch it on: open the project menu (⋯) on the project’s tile and click “Play YouTube links in the viewer”. The entry appears only for PDFs that contain links to YouTube videos. Vimeo links have an entry of their own, “Play Vimeo links in the viewer”.
- Test and share: open the publication and click a link – on your phone too. Then send the link, embed the PDF on your website or list it on your public page.
Playing YouTube and Vimeo links is part of the Publisher Plus, Premium and Tailored plans. Every detail is in our help center: Play YouTube links in the viewer and Play Vimeo links in the viewer.
Linked or uploaded video: which one when?
A linked video plays in YouTube’s player, with YouTube’s logo and title. What the player shows is YouTube’s choice: some videos show an ad first, and at the end YouTube suggests more videos from the same channel. You also can’t hide its controls, let it loop or have it start by itself when its page appears.
A video you upload to Viewnamic plays exactly as you set it up: with or without controls, in a loop, starting by itself, with or without sound, also in a picture-in-picture window – and without a provider’s logo or ads. How to place one: Add a video to a PDF.
A simple rule of thumb:
- Link videos that already live on YouTube or Vimeo and that your PDF links anyway – product videos, recorded webinars, tutorials. Linked videos don’t count towards your plan’s interactive elements.
- Upload videos that are part of your design – a loop on a product photo, a short clip in a sales folder, a video that should start by itself or play without ads.
Both work side by side in one document. For a wider look at video in PDFs – Acrobat, flipbooks and Viewnamic – read our interactive PDF comparison.
Privacy: nothing loads before the click
Nothing is loaded from YouTube or Vimeo until a reader clicks a link. Then the reader’s browser loads YouTube’s player in its privacy-enhanced mode (youtube-nocookie.com), in which YouTube doesn’t use the view to personalise the reader’s YouTube experience or the ads it shows. Vimeo’s player loads with Vimeo’s “do not track” setting.
Frequently asked questions
Do I have to change my PDF?
No. The links stay in your PDF as they are. One switch in the Workspace decides whether they play in the viewer or open YouTube.
Which plans include it?
Publisher Plus, Premium and Tailored. It doesn’t count towards your interactive elements, because nothing is uploaded – the video stays on YouTube or Vimeo. All plans are on the pricing page.
Does it work on phones?
Yes. On phones, most videos open in the floating window, because their area is smaller than the size YouTube asks for. On iPhones and iPads, YouTube may ask for a tap on its play button before the video starts with sound.
Does it work with Vimeo videos too?
Yes. Vimeo links have a switch of their own in the same menu, “Play Vimeo links in the viewer”. They play in their area or in the floating window as well, in Vimeo’s player.
Can I see how often a video was played?
Yes. Plays of linked videos appear in the publication statistics under Videos, with “(YouTube)” or “(Vimeo)” after the title. Each video counts at most once per visit.
Conclusion: the video plays where it belongs
A PDF on its own can’t play a YouTube video. In the Viewnamic viewer, the link you already have does – on the page, in every browser and on every phone, while your document stays open. Link what lives on YouTube, upload what belongs to your design, and keep your readers in your document.
The plans with YouTube and Vimeo playback are on the pricing page, or try Viewnamic without an account with your own PDF. Our video tutorials show every step as well.
Publish your PDFs with Viewnamic
Host, share and enhance your documents – with the Free plan, online for 30 days.