# Choosing an Integration Method
ByteArk AdStream supports publishing videos on your website in 2 display formats (Instream and Outstream), each of which can be installed in 2 ways (iframe and HTML/JavaScript). This page helps you choose the approach that fits your needs before you start.
# Display mode
- Instream: video and ads play inside a Video Player embedded with the content. Best for pages where video is the main element.
- Outstream: a Video Player that floats and resizes automatically as the viewer scrolls. Best for in-article areas where playback should continue while reading.
See the comparison on the AdStream landing page.
# Integration method
- iframe: the fastest way to get started, with no extra code, similar to embedding a video from YouTube.
- HTML/JavaScript: full control over the Player's options and features. Best for cases that need customization.
# Quick reference
| Format | Method | Best for | Guide |
|---|---|---|---|
| Instream | iframe | Quick start, no code | Instream via iframe |
| Instream | HTML/JavaScript | Customizing options/features | Instream via HTML/JavaScript |
| Outstream | iframe | Floating player, quick start | Outstream via iframe |
| Outstream | HTML/JavaScript | Floating player with customization | Outstream via HTML/JavaScript |
Note: The embed code and Video Link for each video come from ByteArk Stream. See Upload Video and Manage Video Library. For configuring options and ads on the code side, see Player Options and Advertising in ByteArk Player.