Simplified Networks

Simplified Networks


I'm working on a Samsung smart tv (d8000) javascript app.
I am trying to embed a vimeo video with the iframe universal player but with no success.

This is the error i get from the tv when i try to embed a video:
File :
Line No : 39
Error Detail : TypeError: redeclaration of const id

my code is:

var ifrm = document.createElement("iframe"); = "vimeoPlayer_1";
ifrm.setAttribute("src", "";); = '100%'; = '100%';
ifrm.frameBorder = 0;

I also tried to embed a single video with a simple object tag but it didn't work either.

What would be the best way to embed a vimeo player that support the javascript API in Samsung smart tv?


Brad Dougherty

Brad Dougherty Staff

Hi, I'm not really familiar with Samsung Smart TV, so I'm not sure what is going wrong with their Javascript implementation. The player should work on anything with a decent Javascript implementation.

This conversation is missing your voice. Please join Vimeo or log in.