55143681 Posted February 8, 2020 Share Posted February 8, 2020 for Delphi: UnimVideo1.JSInterface.JSCode(#1'.media.dom.src="'+ UnimVideo1.Url +'";'); for Cbuilder: UnimVideo1->JSInterface->JSCode(#1".media.dom.src=\""+ UnimVideo1.->Url +"\";"); #1 should be what in cbuilder? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 8, 2020 Share Posted February 8, 2020 55 minutes ago, 55143681 said: #1 should be what in cbuilder? Also you can try to replace it with this code: #1 = UnimVideo1->JSInterface->JSName Quote Link to comment Share on other sites More sharing options...
55143681 Posted February 9, 2020 Author Share Posted February 9, 2020 12 hours ago, Sherzod said: Also you can try to replace it with this code: #1 = UnimVideo1->JSInterface->JSName UnimVideo1 has JSName,but UnimVideo1->JSInterface does not has JSName, Is that just UnimVideo1->JSName??? Quote Link to comment Share on other sites More sharing options...
55143681 Posted February 9, 2020 Author Share Posted February 9, 2020 Well, finish, Thank you Sherzod. UnimVideo1->Stop(); UnimVideo1->Url=UnimList1->Text; UnimVideo1->JSInterface->JSCode(UnimVideo1->JSName + ".media.dom.src=\""+ UnimVideo1->Url +"\";") ; UnimVideo1->Play(); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.