Skip to content

[nativescript-youtubeplayer] Cant't use binding context #129

Open
@Loralon

Description

@Loralon

I have a ns angular application in which I show a RadListView of cards with a player.
When I insert the VideoId by hand I have no problems ... it loads all cards and players.
<GridLayout id="VideoContainer" rows="230" columns="*" > <YoutubePlayer row="0" videoId="FCgxn8CuKb0" heigth="230" showinfo="0"></YoutubePlayer> </GridLayout>
Schermata 2022-07-28 alle 01 58 16

But if I try to bind the value of VideoId it loads the player but with the error An error occurred. Please try again later. (Playback ID: xxxxxxxxxxxx)
<GridLayout id="VideoContainer" rows="230" columns="*" > <YoutubePlayer row="0" videoId="{{item.url_video}}" heigth="230" showinfo="0"></YoutubePlayer> </GridLayout>
Schermata 2022-07-28 alle 01 56 48
With a quick check I noticed that the html structure correctly reports the videoId values.
Schermata 2022-07-28 alle 02 04 25

Did I miss something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions