Skip to content

Unable to load new playlist in existing view? #1044

Description

@JimmyAdler

Question / Problem

I have a single view that needs to load videos from different playlists depending on the user input, but since the only place I found to set and load a playlist is when initializing the playerview I don't understand how to do that if it's possible?

the initialization takes a IFramePlayerOptions as a parameter and that can be set to listType playlist and list can be set to the playlist I want to load, but after the init is done I can't do another initialization, so is there anyway to change the playlist id that I loaded or do I need to tear down the view and create a new one with new initialization parameters? I would prefer not to do that since it's not how the app is designed currently.

Summary

I need to be able to load a different playlist after the initialization of the view.

What I've tried

I have been looking for other functions in the api that accepts IFramePlayerOptions so that I can update parameters, but as far as I can tell it's only used during initialization.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions