javascript includes #6776
Unanswered
Lveronneau
asked this question in
FAQs
Replies: 3 comments 1 reply
-
Get rid of script tags and just use Im not a fan of script cdn style imports either. |
Beta Was this translation helpful? Give feedback.
0 replies
-
any reason why ? thanks |
Beta Was this translation helpful? Give feedback.
1 reply
-
Good evening! Here’s some help with your questions:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
good evening everyone !
developping a videochat webapp and trying to minimise the use of includes specially jquery !
I am using import {WebRTCAdaptor} from "https://cdn.skypack.dev/@antmedia/webrtc_adaptor@SNAPSHOT"; top of my module section.
question 1 - do I need those includes ?
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="https://video2.meetstream.com:5443/LiveApp/js/external/adapter-latest.js"></script>
<script src="https://video2.meetstream.com:5443/LiveApp/js/external/notify.min.js" crossorigin="anonymous"></script>
because when i dont use them, the code still works but i get the error :
"Video sender not found to change bandwidth. Streaming may not be active
remotePeerConnection..oniceconnectionstatechange @ webrtc_adaptor.js:2073"
quesiton 2 - can i replace the import of : https://cdn.skypack.dev/@antmedia/webrtc_adaptor@SNAPSHOT"
by a file i can host on my own server ? like : import { WebRTCAdaptor } from "./js/webrtc_adaptor.js"; ??
thanks
Beta Was this translation helpful? Give feedback.
All reactions