Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Proxy Embed Component for YouTube Embbedable

Avatar

Avatar
Validate 1
Level 1
ryan-johnston
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
ryan-johnston
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
ryan-johnston
Level 1

09-04-2021

I would like to proxy (extend) the Embed component in order to modify the fallback values for the ./youtubeWidth and ./youtubeHeight embeddable properties. Even tried to copy the entirety of the core Embed component into my own app structure, but nothing I change in embed/embeddable/youtube/youtube.html works. The component falls back to the core code for youtube.html. Any pointers on how to proxy this component? Maybe I'm doing something wrong. Any help would be greatly appreciated.

 

Embed component extended structure.

 

ryan-johnston_0-1617983435759.png

 

Code change for youtube.html

ryan-johnston_1-1617983474997.png

core components embed youtube

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 1
ryan-johnston
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
ryan-johnston
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
ryan-johnston
Level 1

09-04-2021

 

 

 

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 1
ryan-johnston
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
ryan-johnston
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
ryan-johnston
Level 1

28-04-2021

Curious if anyone has an idea how to fix this issue. Thank you!