Oct 28, 2020 Replies: 3 Hi All, I am getting a " www.youtube.com refused to connect. " error when trying to connect to a youtube video, my code is as follows: Code: Copy Dim myModalVideocastVideo1 As ABMVideo myModalVideocastVideo1.InitializeYouTube(page,"myModalVideocastVideo1","//www.youtube.com/watch?v=7-8_15G7kBU","//www.youtube.com/watch?v=7-8_15G7kBU",True,False,True,100) This is also in a modalsheet. Also I am running in compiled localhost Thanks for help in advance. Last edited: Oct 28, 2020 Click to expand...
Hi All, I am getting a " www.youtube.com refused to connect. " error when trying to connect to a youtube video, my code is as follows: Code: Copy Dim myModalVideocastVideo1 As ABMVideo myModalVideocastVideo1.InitializeYouTube(page,"myModalVideocastVideo1","//www.youtube.com/watch?v=7-8_15G7kBU","//www.youtube.com/watch?v=7-8_15G7kBU",True,False,True,100) This is also in a modalsheet. Also I am running in compiled localhost Thanks for help in advance.
alwaysbusy Expert Licensed User Longtime User Oct 28, 2020 #2 That second url (parameter origin) doesn't seem right, it should be something like http://localhost:51042, not a youtube url.
That second url (parameter origin) doesn't seem right, it should be something like http://localhost:51042, not a youtube url.
C codie01 Active Member Licensed User Longtime User Oct 28, 2020 #3 Thanks alwaysbusy, i tried that also. Is that the localhost port I am running the developed app on, like Code: Copy myApp.StartServer(srvr, "srvr", 51042) Also do I need the video stored local also? Thanks in advance.
Thanks alwaysbusy, i tried that also. Is that the localhost port I am running the developed app on, like Code: Copy myApp.StartServer(srvr, "srvr", 51042) Also do I need the video stored local also? Thanks in advance.
alwaysbusy Expert Licensed User Longtime User Oct 28, 2020 #4 codie01 said: the localhost port I am running the developed app on Click to expand... yes, this is a check that youtube does if the origin from the call is correct codie01 said: Also do I need the video stored local also? Click to expand... No, the youtube url should be enough
codie01 said: the localhost port I am running the developed app on Click to expand... yes, this is a check that youtube does if the origin from the call is correct codie01 said: Also do I need the video stored local also? Click to expand... No, the youtube url should be enough