thejagstudio commited on
Commit
ff72b92
·
verified ·
1 Parent(s): dd6d7e0

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +11 -17
index.html CHANGED
@@ -2,7 +2,7 @@
2
  <html>
3
  <head>
4
  <title>Page Title</title>
5
- <script src="https://unpkg.com/videojs-contrib-hls/dist/videojscontrib-hls.js"></script>
6
  <style>
7
  body{
8
  height:"fit-content"
@@ -10,26 +10,20 @@
10
  </style>
11
  </head>
12
  <body>
13
- <video id="video" style="margin-bottom:10px;border-radius:10px;overflow:hidden" width='100%' class="video-js vjs-big-play-centered vjs-theme-sea"
14
- controls
15
- preload="auto"
16
- fluid="true"
17
- data-setup='{}' >
18
  <source src="https://prod-sports-hin.jiocinema.com/hls/live/2100323/hd_akamai_iosmob_avc_hin_ipl_s1_m1060424/master.m3u8?hdnts=st=1712414346~exp=1712421546~acl=/*~id=6973cf176fda4c1c84a968e86b4691a4~data=rqId=0e96706e-aa76-4e33-9449-ccea46a94d98~hmac=6c227a5aaae4bedd60dd3509a80f74d6b50a20be50fc3d7c4fb82344e8bd4c54&ads.deviceid=7bbb32bb-4803-4c8b-9edb-7ac10e08877a&ads.dvb=&ads.device_model=&ads.platform=dweb&ads.os=windows&ads.avr=24.03.31.0-a3be549&ads.app_lang=Hindi&ads.country=IN&ads.state=Gujarat&ads.city=Ahmedabad&ads.user_id=6973cf17-6fda-4c1c-84a9-68e86b4691a4&ads.user_subscription_state=false&ads.ctid=3937914&ads.content_title=Rajasthan%20Royals%20vs%20Royal%20Challengers%20Bengaluru&ads.shnm=TATA%20IPL&ads.tnid=3937914&ads.tnm=TATA%20IPL%202024&ads.mtnm=Rajasthan%20Royals%20vs%20Royal%20Challengers%20Bengaluru&ads.mtnumber=19&ads.episode_no=0&ads.gnr=Sports&ads.lang=Hindi&ads.feed_type=LIVECHANNEL&ads.video_type=LINEAR&ads.ip4=0.0.0.0&ads.ip6=0.0.0.0&ads.device_type=Desktop&ads.device_width=838&ads.device_height=742&ads.network_type=mobile&ads.network_carrier=NA&ads.subs_plan=free&ads.pin_code=382007&ads.latitude=23.2&ads.longitude=72.65&ads.orientation=landscape&ads.is4k=false&ads.content_restriction_level=18&ads.screen_name=player&ads.lat=23.2&ads.asnname=&ads.external_creative_id=&ads.advertiser_id=&ads.mol_impression_id=&ads.chip_name=For%20You&ads.bnm=&ads.cohort_c1=GHOP&ads.maturity_rating=U&ads.sbu=S18" type="application/x-mpegURL"">
19
  </video>
20
  <iframe width="100%" style="margin-bottom:10px;border-radius:10px;overflow:hidden" src="https://www.youtube.com/embed/BLlTFapgvOo" title="Rasraj Ji Maharaj - Lo-fi Version श्री हनुमान चालीसा { Slowed &amp; Reverb } Shree Hanuman Chalisa" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
21
- <script src="https://vjs.zencdn.net/7.17.0/video.min.js"></script>
22
- <script src="https://unpkg.com/videojs-contribhls/dist/videojs-contrib-hls.js"></script>
23
  <script>
24
- // if (Hls.isSupported()) {
25
- // var video = document.getElementById('video');
26
- // var hls = new Hls();
27
- // hls.loadSource(video.src);
28
- // hls.attachMedia(video);
29
- // }else{
30
- // alert("Cannot stream HLS, use another video source");
31
- // }
32
- var player = videojs('video');
33
  </script>
34
  </body>
35
  </html>
 
2
  <html>
3
  <head>
4
  <title>Page Title</title>
5
+ <script src="https://cdn.tutorialjinni.com/hls.js/1.2.1/hls.min.js"></script>
6
  <style>
7
  body{
8
  height:"fit-content"
 
10
  </style>
11
  </head>
12
  <body>
13
+ <video id="video" style="margin-bottom:10px;border-radius:10px;overflow:hidden" width='100%'
14
+ controls autoplay>
 
 
 
15
  <source src="https://prod-sports-hin.jiocinema.com/hls/live/2100323/hd_akamai_iosmob_avc_hin_ipl_s1_m1060424/master.m3u8?hdnts=st=1712414346~exp=1712421546~acl=/*~id=6973cf176fda4c1c84a968e86b4691a4~data=rqId=0e96706e-aa76-4e33-9449-ccea46a94d98~hmac=6c227a5aaae4bedd60dd3509a80f74d6b50a20be50fc3d7c4fb82344e8bd4c54&ads.deviceid=7bbb32bb-4803-4c8b-9edb-7ac10e08877a&ads.dvb=&ads.device_model=&ads.platform=dweb&ads.os=windows&ads.avr=24.03.31.0-a3be549&ads.app_lang=Hindi&ads.country=IN&ads.state=Gujarat&ads.city=Ahmedabad&ads.user_id=6973cf17-6fda-4c1c-84a9-68e86b4691a4&ads.user_subscription_state=false&ads.ctid=3937914&ads.content_title=Rajasthan%20Royals%20vs%20Royal%20Challengers%20Bengaluru&ads.shnm=TATA%20IPL&ads.tnid=3937914&ads.tnm=TATA%20IPL%202024&ads.mtnm=Rajasthan%20Royals%20vs%20Royal%20Challengers%20Bengaluru&ads.mtnumber=19&ads.episode_no=0&ads.gnr=Sports&ads.lang=Hindi&ads.feed_type=LIVECHANNEL&ads.video_type=LINEAR&ads.ip4=0.0.0.0&ads.ip6=0.0.0.0&ads.device_type=Desktop&ads.device_width=838&ads.device_height=742&ads.network_type=mobile&ads.network_carrier=NA&ads.subs_plan=free&ads.pin_code=382007&ads.latitude=23.2&ads.longitude=72.65&ads.orientation=landscape&ads.is4k=false&ads.content_restriction_level=18&ads.screen_name=player&ads.lat=23.2&ads.asnname=&ads.external_creative_id=&ads.advertiser_id=&ads.mol_impression_id=&ads.chip_name=For%20You&ads.bnm=&ads.cohort_c1=GHOP&ads.maturity_rating=U&ads.sbu=S18" type="application/x-mpegURL"">
16
  </video>
17
  <iframe width="100%" style="margin-bottom:10px;border-radius:10px;overflow:hidden" src="https://www.youtube.com/embed/BLlTFapgvOo" title="Rasraj Ji Maharaj - Lo-fi Version श्री हनुमान चालीसा { Slowed &amp; Reverb } Shree Hanuman Chalisa" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
 
 
18
  <script>
19
+ if (Hls.isSupported()) {
20
+ var video = document.getElementById('video');
21
+ var hls = new Hls();
22
+ hls.loadSource(video.src);
23
+ hls.attachMedia(video);
24
+ }else{
25
+ alert("Cannot stream HLS, use another video source");
26
+ }
 
27
  </script>
28
  </body>
29
  </html>