When trying to view a valid video url/id on page 164 of the Programming Phoenix book,
the video is not displaying.
When I open DevTools > Console I see the following error:
Uncaught TypeError: _player2.default.init is not a function
Screenshot:
Everything else appears to be working but the video is not being loaded.
I've tried searching the book's "errata" page: https://pragprog.com/titles/phoenix/errata
and spent some time googling for the error text and more generic keywords.
I suspect that the error is because we haven't said how the web page should get
get the YT script ... but I could be wrong.
If anyone else has come across this issue, please share how you resolved it! thanks! 👍
When trying to view a valid video url/id on page 164 of the Programming Phoenix book, the video is not displaying.
When I open DevTools > Console I see the following error:
Screenshot:
Everything
else
appears to be working but the video is not being loaded. I've tried searching the book's "errata" page: https://pragprog.com/titles/phoenix/errata and spent some time googling for the error text and more generic keywords.I suspect that the error is because we haven't said how the web page should get get the YT script ... but I could be wrong.
If anyone
else
has come across this issue, please share how you resolved it! thanks! 👍