B4J Question [ABMaterial] Is it possible to embed HTML in a container?

Dianzoa

Active Member
Licensed User
Hello, I need to embed a html in a little container box inside an ABMPage, is it posible? I mean, the "normal" page will have many components, but one of them must be a little box with some other URL loaded in it. The purpose of it is to have a video chat with webRTC in that little box.
 

Dianzoa

Active Member
Licensed User
@alwaysbusy if I used for example PeerJS, which is a "framework" for webRTC, I can use if I include the .js min file and distribuite it in an ABMApplication? Or is not possible to write some JS code embedded?
[ As You tell me, maybe I just to call an external html with all the code to do the video call and just show it in a component in ABMMaterial]

The PeerJS library
PeerJS simplifies WebRTC peer-to-peer data, video, and audio calls.

PeerJS wraps the browser's WebRTC implementation to provide a complete, configurable, and easy-to-use peer-to-peer connection API. Equipped with nothing but an ID, a peer can create a P2P data or media stream connection to a remote peer.
 
Last edited:
Upvote 0
Top