VideoBB
Upload Premium Sign in

Player & embedding, explained

How a hosted player gets onto your page, why it behaves differently in each browser, and how to make it responsive, accessible and fast.

A hosted player arrives as an iframe that you paste into your page. The host handles the stream, the controls and the captions. Your CSS sets the size. The viewer's browser decides whether autoplay is allowed.

Abstract illustration of a rectangular video frame nested inside a larger page, with soft gradient bands suggesting a play control and caption lines.

Guides in this hub

  1. How-toHow to embed a video on a websiteCopy one iframe, understand the six attributes it carries, and add the query parameters that control autoplay, mute, start time and looping.8 min readRead
  2. ExplainerVideo player features that matterAdaptive quality, fast seeking, captions, keyboard control and picture-in-picture do more for viewers than any skin. Here is what to look for and why.8 min readRead
  3. How-toResponsive video embedsFixed 640×360 frames crop on phones and float in wide columns. Two lines of CSS fix it for good, and there is a fallback for older stacks.8 min readRead
  4. Deep diveAutoplay rules in browsersChrome, Safari and Firefox all block autoplay with sound until a person has interacted. What each one allows, how the rules reach an iframe, and how to design around them.8 min readRead
  5. ExplainerCaptions and subtitles for videoCaptions serve viewers who cannot hear; subtitles serve viewers who cannot understand. Both are plain text files with timestamps, and getting them right is mostly craft.8 min readRead

An embedded video is a small window into another site. The window is an iframe: a frame that loads the host's player inside your page. The player brings its own stream, controls and captions. Your page decides how big the frame is, whether it may start by itself, and what happens when a phone turns sideways.

This hub covers the player side of publishing on VideoBB. It explains the embed code and what each part does. It shows which player features keep people watching. It covers how to make an embed fit any screen, why browsers block autoplay with sound, and how captions reach the viewer. Each of the five guides stands alone. They share one idea: the player is part of your page, so give it the same care as your headline.

Where the player ends and your page begins

An embedded player sits on the line between two documents. Inside the frame, VideoBB is in charge. Outside it, your page is in charge. Neither side can reach across without permission. That is why an embed is safe to place on pages you do not fully control, such as a CMS post or a forum reply.

What the player does inside the frame

Inside the iframe, VideoBB's player asks for an HLS playlist. HLS sends video in short pieces at several quality levels. The player picks the level that fits the viewer's connection and the frame's size. It also draws the controls and handles the keyboard, touch and fullscreen.

Viewers can change quality, speed and captions from the gear menu. The player settings help page lists every option and keyboard shortcut.

What your page does outside the frame

Outside the iframe, your HTML decides where the frame sits. Your CSS decides its width and its shape, called the aspect ratio. The allow attribute decides which browser features the frame may use, such as fullscreen and picture-in-picture.

Why embeds sometimes behave oddly

This line between the two sides explains most of the behaviour people find confusing. The picture can look soft for the first second. That is adaptive streaming starting low and stepping up, not a poor file. Autoplay may work on your laptop but not on a colleague's phone. The browser sets that rule, not the player.

The frame may be cropped on a phone. A fixed width="640" was never told how to shrink. Each guide in this hub takes one of these cases and shows which side owns the fix.

Who controls what in an embedded player

Before you change anything, work out which side is in charge of the behaviour you want to alter.

BehaviourControlled byWhere it is covered
Which quality playsThe player's adaptive logic, from bandwidth and frame sizeAdaptive bitrate streaming
Size and aspect ratioYour CSS around the iframeResponsive video embeds
Whether it starts by itselfThe browser's autoplay policy, then your embed parametersAutoplay rules in browsers
Captions and their languageText tracks sent with the stream, chosen in the playerCaptions and subtitles
Fullscreen and picture-in-pictureThe iframe's allow attribute, then the controlsHow to embed a video
Keyboard, speed and scrubbingThe player itselfPlayer features that matter

A sensible reading order

Read the guides in the order that matches the job in front of you. Each step below points to one guide and says when you need it. None of it needs JavaScript.

Start with the embed code

If you have never embedded a video, start with the embedding guide. It goes through the iframe one attribute at a time. It also explains the query parameters. The help page on embedding shows where the Share button keeps the code.

Then make it fit every screen

Read responsive embeds next. A fixed-size frame is the most common mistake on real sites. A few lines of CSS let the player grow and shrink with its column.

Before you publish: autoplay and captions

The autoplay guide matters as soon as someone asks for a hero video that plays by itself. The captions guide matters before you publish anything with speech in it. VideoBB can also make automatic captions that you then check and correct.

When you compare hosts or players

The features guide is the one to read when you are choosing a host or deciding what to ask for. Picture sharpness is a separate topic. The quality and resolution hub covers bitrate, frame rate and 4K. Developers who want control from their own code should read the developer documentation after the basics here.

Habits that pay off on every page

A few habits, used every time, prevent most player complaints before anyone raises them.

  • Keep the allow attribute as it is, so fullscreen and picture-in-picture keep working. Remove a token only when you want that feature off.
  • Give every iframe a title that describes the video. Screen readers read it aloud, and it costs nothing.
  • Size the frame with the CSS aspect-ratio property, not fixed pixels. Reserve that space so the page does not jump when the player loads.
  • Assume sound is off until the viewer turns it on. Treat autoplay as a silent preview, not a stand-in for a play button.
  • For a silent header loop, upload only the seconds you need. The free trim tool cuts a clip by start and end time.
  • Where an iframe cannot go, such as most email, link a still image or a short GIF made from the clip to the video page instead.
  • Publish captions with anything that has speech. They help viewers in noisy rooms and quiet offices as much as viewers who cannot hear.

Frequently asked questions

Do I need a plugin to embed a VideoBB video?

No. The embed is a standard iframe, so anything that accepts raw HTML will show it. That includes a WordPress Custom HTML block, a Squarespace or Wix code block, and a hand-written page. A Markdown file works too if it allows inline HTML. Plugins only help when your editor strips iframes. Even then, the fix is usually a setting rather than an extension.

Why does the embed autoplay on my computer but not on my phone?

The browser decides about autoplay, not the player. A desktop browser may remember that you used videobb.com before and allow sound. A phone that has never done so will only start the video muted. iOS in Low Power Mode may not start it at all. Embed with autoplay and muted together, and treat sound as something the viewer turns on.

Can I change the player's size after pasting the code?

Yes. The width and height attributes are only defaults. Override them in CSS with width: 100% and an aspect-ratio. You can also wrap the iframe in a container that holds the ratio. Either way, the player scales with its column on every screen. The responsive embeds guide gives the exact rules.

Does embedding count against my account in any way?

Embeds stream the same renditions as the video's own page on VideoBB, through the same adaptive player. There is nothing extra to set up. Privacy is set per video, so you decide whether a video is public, unlisted or private wherever it is embedded.

Sources