thejagstudio commited on
Commit
543a84c
·
verified ·
1 Parent(s): bbc7cbd

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +17 -11
index.html CHANGED
@@ -3,6 +3,9 @@
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,19 +13,22 @@
10
  </style>
11
  </head>
12
  <body>
13
- <video id="video" style="margin-bottom:10px;border-radius:10px;overflow:hidden" width='100%' controls autoplay
14
- 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">
15
- </video>
 
16
  <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>
17
  <script>
18
- if (Hls.isSupported()) {
19
- var video = document.getElementById('video');
20
- var hls = new Hls();
21
- hls.loadSource(video.src);
22
- hls.attachMedia(video);
23
- }else{
24
- alert("Cannot stream HLS, use another video source");
25
- }
 
 
26
  </script>
27
 
28
  </body>
 
3
  <head>
4
  <title>Page Title</title>
5
  <script src="https://cdn.tutorialjinni.com/hls.js/1.2.1/hls.min.js"></script>
6
+ <link href="https://unpkg.com/video.js/dist/video-js.css" rel="stylesheet">
7
+ <script src="https://unpkg.com/video.js/dist/video.js"></script>
8
+ <script src="https://unpkg.com/videojs-contrib-hls/dist/videojs-contrib-hls.js"></script>
9
  <style>
10
  body{
11
  height:"fit-content"
 
13
  </style>
14
  </head>
15
  <body>
16
+ <video id="my_video_1" class="video-js vjs-fluid vjs-default-skin" style="margin-bottom:10px;border-radius:10px;overflow:hidden" width='100%' controls preload="auto"
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>
22
+ // if (Hls.isSupported()) {
23
+ // var video = document.getElementById('video');
24
+ // var hls = new Hls();
25
+ // hls.loadSource(video.src);
26
+ // hls.attachMedia(video);
27
+ // }else{
28
+ // alert("Cannot stream HLS, use another video source");
29
+ // }
30
+ var player = videojs('video');
31
+ player.play();
32
  </script>
33
 
34
  </body>