Skip to main content
Known Participant
March 11, 2025
Question

Vertical YouTube videos not playing

  • March 11, 2025
  • 2 replies
  • 434 views

Hi, another post regarding a new website I have built using a ThemeForest template.

URL: https://kylehawkinscreative.com/

 

Can anyone tell me how to fix an error I'm getting with my vertical YouTube videos which throw up the following error: An error occurred. Please try again later. (Playback ID: dumNEWodUIUirvWz)

 

I imagine it's the code as it works fine horizontally.

<div class="portfolio-overlay"> <a class="popup-youtube stretched-link" href="https://www.youtube.com/shorts/Eo8vKXlR-DE"></a>

2 replies

Nancy OShea
Community Expert
Community Expert
March 11, 2025

FWIW, I can't post Shorts in this forum either.  It's a relatively new YT content category that's not supported by all plugins. 

 

My workaround was to edit the code and replace shorts/ with embed/ like this:

https://www.youtube.com/embed/Eo8vKXlR-DE

 

Hope that helps.

 

Nancy O'Shea— Product User & Community Expert
Known Participant
March 12, 2025

Thanks. However, this still doesn't work for me and I get the same error code. Maybe, I'll just have to edit the video and put it on 16.9 format with bars either side?

Nancy OShea
Community Expert
Community Expert
March 12, 2025

Or say "buh-bye" to the outdated jQuery plugin.

https://wordpress.org/plugins/shorts-video-embedder-for-youtube/\

 

 

Nancy O'Shea— Product User & Community Expert
BenPleysier
Community Expert
Community Expert
March 11, 2025

This error message indicates that the JavaScript code in tbvws.js is attempting to access a property of a null object. Specifically, it is trying to read the property '1' from an object that is null. This typically happens when the code expects a certain element or data to exist but it is not present or initialized correctly.

 

Edit:

On further inspection, the '/shorts' part in this line is causing the error

<div class="portfolio-overlay"> <a class="popup-youtube stretched-link" href="https://www.youtube.com/shorts/Eo8vKXlR-DE"></a>

 

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!