1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 10:49:36 +02:00
Oinktube/node_modules/videojs-contrib-ads/docs/integrator/snapshot.md
Daniel 2a9630258f https://github.com/WWBN/AVideo/issues/6345#issuecomment-1067056556
Also check the lang in case insensitive
2022-03-14 14:28:38 -03:00

456 B

Snapshot

The snapshot feature records the player state when an ad break begins and restores it when the ad break ends. This is useful when the ad plugin uses the content video element for ad playback. It also prevents metadata corresponding to the content from affecting ads; for example, you won't see your content's captions over ads. The following state is saved and restored:

  • Content source
  • Current time
  • Style attribute
  • Text tracks