1function analysis(source, width, height, videoId, playAuth, format, encryptType, isLive) { 2 var live = isLive == "true" ? true : false; 3 //å¤ææ¥æº 4 if (source == 0) { 5 noEncryption(playAuth, width, height, live) 6 } else if (source == 1) { 7 encryption(videoId, playAuth, format, encryptType, width, height, live); 8 } 9} 10 11 12function noEncryption(sourceUrl, width, height, isLive) { 13 var player = new Aliplayer({ 14 "id": "player-con", 15 "source": sourceUrl, 16 "width": width, 17 "height": height, 18 "autoplay": true, 19 "isLive": isLive, 20 "rePlay": false, 21 "playsinline": true, 22 "preload": true, 23 "controlBarVisibility": "hover", 24 "useH5Prism": true, "skinLayout": [ 25 { 26 "name": "bigPlayButton", 27 "align": "blabs", 28 "x": 30, 29 "y": 80 30 }, 31 { 32 "name": "H5Loading", 33 "align": "cc" 34 }, 35 { 36 "name": "errorDisplay", 37 "align": "tlabs", 38 "x": 0, 39 "y": 0 40 }, 41 { 42 "name": "infoDisplay" 43 }, 44 { 45 "name": "tooltip", 46 "align": "blabs", 47 "x": 0, 48 "y": 56 49 }, 50 { 51 "name": "thumbnail" 52 }, 53 { 54 "name": "controlBar", 55 "align": "blabs", 56 "x": 0, 57 "y": 0, 58 "children": [ 59 { 60 "name": "progress", 61 "align": "blabs", 62 "x": 0, 63 "y": 44 64 }, 65 { 66 "name": "playButton", 67 "align": "tl", 68 "x": 15, 69 "y": 12 70 }, 71 { 72 "name": "timeDisplay", 73 "align": "tl", 74 "x": 10, 75 "y": 7 76 }, 77 { 78 "name": "fullScreenButton", 79 "align": "tr", 80 "x": 10, 81 "y": 12 82 }, 83 { 84 "name": "volume", 85 "align": "tr", 86 "x": 5, 87 "y": 10 88 } 89 ] 90 } 91 ] 92 }, function (player) { 93 } 94 ); 95} 96 97function encryption(videoId, playAuth, format, encryptType, width, height, isLive) { 98 var player = new Aliplayer({ 99 "id": "player-con", 100 "vid": videoId, 101 "playauth": playAuth, 102 "format": format, 103 "mediaType": "video", 104 "encryptType": encryptType, 105 "width": width, 106 "height": height, 107 "autoplay": true, 108 "isLive": isLive, 109 "rePlay": false, 110 "playsinline": true, 111 "preload": true, 112 "controlBarVisibility": "hover", 113 "useH5Prism": true, 114 "skinLayout": [ 115 { 116 "name": "bigPlayButton", 117 "align": "blabs", 118 "x": 30, 119 "y": 80 120 }, 121 { 122 "name": "H5Loading", 123 "align": "cc" 124 }, 125 { 126 "name": "errorDisplay", 127 "align": "tlabs", 128 "x": 0, 129 "y": 0 130 }, 131 { 132 "name": "infoDisplay" 133 }, 134 { 135 "name": "tooltip", 136 "align": "blabs", 137 "x": 0, 138 "y": 56 139 }, 140 { 141 "name": "thumbnail" 142 }, 143 { 144 "name": "controlBar", 145 "align": "blabs", 146 "x": 0, 147 "y": 0, 148 "children": [ 149 { 150 "name": "progress", 151 "align": "blabs", 152 "x": 0, 153 "y": 44 154 }, 155 { 156 "name": "playButton", 157 "align": "tl", 158 "x": 15, 159 "y": 12 160 }, 161 { 162 "name": "timeDisplay", 163 "align": "tl", 164 "x": 10, 165 "y": 7 166 }, 167 { 168 "name": "fullScreenButton", 169 "align": "tr", 170 "x": 10, 171 "y": 12 172 }, 173 { 174 "name": "volume", 175 "align": "tr", 176 "x": 5, 177 "y": 10 178 } 179 ] 180 } 181 ] 182 }, function (player) { 183 } 184 ); 185}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.