Helper
Media
Magento\ProductVideo\Helper\Media
What it does
This helper class provides access to product video configuration settings from the Magento store configuration.
Developers use this class to retrieve settings like YouTube API key, video autoplay behavior, auto-restart functionality, and whether to show related YouTube videos when displaying product videos on the frontend.
Public Methods
- getPlayIfBaseAttribute()
- getShowRelatedAttribute()
- getVideoAutoRestartAttribute()
- getYouTubeApiKey()