SHOW:
|
|
- or go back to the newest paste.
| 1 | <!DOCTYPE html> | |
| 2 | <html> | |
| 3 | <meta charset="UTF-8" content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' /> | |
| 4 | <style> | |
| 5 | @font-face {
| |
| 6 | font-family: "SRG SSR Type Regular"; | |
| 7 | - | src: url("https://play.swissinfo.ch/play/static/fonts/SRGSSRType_Rg.ttf") format("truetype");
|
| 7 | + | src: url("https://play.swissinfo.ch/play/v3/fonts/SRGSSRTypeVF_Text_W_Wght.woff2") format("woff2");
|
| 8 | } | |
| 9 | body {
| |
| 10 | - | font-family: "SRG SSR Type Bold"; |
| 10 | + | |
| 11 | - | src: url("https://play.swissinfo.ch/play/static/fonts/SRGSSRType_Bd.ttf") format("truetype");
|
| 11 | + | |
| 12 | -webkit-user-select: none; | |
| 13 | -webkit-text-size-adjust: 100%; | |
| 14 | color: #ffffff; | |
| 15 | background-color: #161616; | |
| 16 | } | |
| 17 | hr {
| |
| 18 | display: block; | |
| 19 | - | background-color: #000000; |
| 19 | + | height: 1px; |
| 20 | border: 0; | |
| 21 | border-top: 2px solid #9d0018; /* Red */ | |
| 22 | - | <body> |
| 22 | + | margin: 1em 0; |
| 23 | padding: 0; | |
| 24 | - | <h1>What's new</h1> |
| 24 | + | |
| 25 | - | <h2>2.8.2</h2> |
| 25 | + | .button {
|
| 26 | background-color: #0f5acb; /* Blue */ | |
| 27 | - | <li>Access to the recent notification history (iOS 10 and above).</li> |
| 27 | + | border: none; |
| 28 | border-radius: 2px; | |
| 29 | - | <h2>2.8 - 2.8.1</h2> |
| 29 | + | color: white; |
| 30 | padding: 15px 32px; | |
| 31 | - | <li>Subscribe to the topics you like. You will be notified when a new content is available.</li> |
| 31 | + | text-align: center; |
| 32 | text-decoration: none; | |
| 33 | - | <h2>2.7.11</h2> |
| 33 | + | display: inline-block; |
| 34 | font-size: 16px; | |
| 35 | - | <li>Improve iOS 11.3 compatibility.</li> |
| 35 | + | margin: 4px 2px; |
| 36 | cursor: pointer; | |
| 37 | - | <h2>2.7.10</h2> |
| 37 | + | |
| 38 | </style> | |
| 39 | - | <li>Google Cast support: Stream videos and audios to Chromecast and compatible receivers.</li> |
| 39 | + | <script> |
| 40 | function Hide (elements, exceptItem) {
| |
| 41 | - | <h2>2.7.9</h2> |
| 41 | + | elements = elements.length ? elements : [elements]; |
| 42 | for (var index = 0; index < elements.length; index++) {
| |
| 43 | - | <li>Add support for 360° video playback (gyroscope and VR headsets).</li> |
| 43 | + | if (elements[index] != exceptItem) {
|
| 44 | - | <li>Handoff can be used to continue playback on another device.</li> |
| 44 | + | elements[index].style.display = 'none'; |
| 45 | - | <li>Fix AirPlay instabilities.</li> |
| 45 | + | } |
| 46 | - | <li>Improve iOS 11.2 compatibility.</li> |
| 46 | + | } |
| 47 | } | |
| 48 | - | <h2>2.7.8</h2> |
| 48 | + | function getUrlVars() {
|
| 49 | var vars = {};
| |
| 50 | - | <li>When using the application outside Switzerland, content which can be played is now easy to identify.</li> |
| 50 | + | var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value) {
|
| 51 | - | <li>Notifications have been made less intrusive.</li> |
| 51 | + | vars[key] = value; |
| 52 | - | <li>Content expiration is now displayed on the player page.</li> |
| 52 | + | }); |
| 53 | return vars; | |
| 54 | - | <h2>2.7.7</h2> |
| 54 | + | |
| 55 | ||
| 56 | - | <li>Videos can be played from the lock screen</li> |
| 56 | + | function highlightElement () {
|
| 57 | - | <li>Fixed iOS 9 crash</li> |
| 57 | + | var build = getUrlVars()['build']; |
| 58 | console.log('build='+build);
| |
| 59 | - | <h2>2.7.6</h2> |
| 59 | + | |
| 60 | var divs = document.querySelectorAll('[id^="build_"]');
| |
| 61 | - | <li>iPhone X support.</li> |
| 61 | + | var highlightDiv; |
| 62 | var firstDiv; | |
| 63 | var hiddenDivs = new Array(); | |
| 64 | - | <h2>2.7.5</h2> |
| 64 | + | |
| 65 | regex = /build_([0-9]*)/; | |
| 66 | - | <li>Fixed unexpected playback restarts.</li> |
| 66 | + | for (var i=0; i < divs.length; i++) {
|
| 67 | var div = divs[i]; | |
| 68 | var div_id = div.id; | |
| 69 | - | <h2>2.7.4</h2> |
| 69 | + | var div_build = div_id.match(regex)[1]; |
| 70 | var hideDiv = div.hasAttribute('preprod');
| |
| 71 | - | <li>Improved AirPlay behavior</li> |
| 71 | + | |
| 72 | if (!firstDiv && !hideDiv) {
| |
| 73 | - | <h2>2.7.3</h2> |
| 73 | + | firstDiv = div; |
| 74 | } | |
| 75 | - | <li>Bug fixes</li> |
| 75 | + | |
| 76 | if (build && (parseInt(div_build) >= parseInt(build))) {
| |
| 77 | - | <h2>2.7.2</h2> |
| 77 | + | highlightDiv = div; |
| 78 | console.log('Select highlight ' + div_id);
| |
| 79 | - | <li>Picture in picture can be enabled by pressing the home button while playing a video in full screen on iPad.</li> |
| 79 | + | } |
| 80 | - | <li>Full screen can be toggled with a pinch gesture on iPad.</li> |
| 80 | + | |
| 81 | if (hideDiv && (!build || (parseInt(div_build) >= parseInt(build)))) {
| |
| 82 | - | <h2>2.7.1</h2> |
| 82 | + | hiddenDivs.push(div); |
| 83 | } | |
| 84 | } | |
| 85 | ||
| 86 | - | <h2>2.7.0</h2> |
| 86 | + | if (hiddenDivs.includes(highlightDiv)) {
|
| 87 | - | <p>The Play SWI application has been vastly improved. This new version features:</p> |
| 87 | + | firstDiv = highlightDiv; |
| 88 | } | |
| 89 | - | <li>A revisited immersive playback experience.</li> |
| 89 | + | |
| 90 | - | <li>English video subtitles.</li> |
| 90 | + | if (hiddenDivs.length) {
|
| 91 | Hide(hiddenDivs, highlightDiv); | |
| 92 | - | <li>An efficient content navigation.</li> |
| 92 | + | } |
| 93 | - | <li>Easy access to downloadable content.</li> |
| 93 | + | |
| 94 | - | <li>The ability to navigate content in landscape orientation on iPhone Plus devices.</li> |
| 94 | + | if (highlightDiv) {
|
| 95 | - | <li>Support for Split View on iPad (only available for compatible devices).</li> |
| 95 | + | addHighlightHeader(highlightDiv, highlightDiv != firstDiv); |
| 96 | - | <li>Content preview with 3D Touch on compatible iPhones.</li> |
| 96 | + | addHighlightFooter(highlightDiv); |
| 97 | - | <li>A polished AirPlay user experience.</li> |
| 97 | + | } |
| 98 | - | <li>A better support for headsets.</li> |
| 98 | + | |
| 99 | - | <li>Improved accessibility for blind and visually impaired users (VoiceOver and support for large text sizes).</li> |
| 99 | + | |
| 100 | function addHighlightHeader (highlightDiv, withUpdateButton) {
| |
| 101 | var highlightHeader = '<div id="version"><hr /><h2 style="text-align: center">Installed version</h2></div>'; | |
| 102 | if (withUpdateButton) {
| |
| 103 | var button = '<p style="text-align: center"><button class="button" onclick="window.location.href=\'https://itunes.apple.com/ch/app/play-swi/id920785201?mt=8\'">Update</button></p>'; | |
| 104 | highlightHeader = button + '\n' + highlightHeader; | |
| 105 | } | |
| 106 | highlightDiv.insertAdjacentHTML('beforeBegin', highlightHeader);
| |
| 107 | } | |
| 108 | ||
| 109 | function addHighlightFooter (highlightDiv) {
| |
| 110 | var highlightFooter = '<div id="version"><hr /></div>'; | |
| 111 | highlightDiv.insertAdjacentHTML('afterend', highlightFooter);
| |
| 112 | } | |
| 113 | </script> | |
| 114 | <noscript>Sorry, your browser does not support JavaScript!</noscript> | |
| 115 | <body onload="highlightElement()"> | |
| 116 | ||
| 117 | <div id="build_393"> | |
| 118 | <h2>3.6.4</h2> | |
| 119 | <ul> | |
| 120 | <li>Minor bug fixes.</li> | |
| 121 | </ul> | |
| 122 | </div> | |
| 123 | <div id="build_391"> | |
| 124 | <h2>3.6.3</h2> | |
| 125 | <ul> | |
| 126 | <li>A freshened look and feel.</li> | |
| 127 | </ul> | |
| 128 | </div> | |
| 129 | <div id="build_389"> | |
| 130 | <h2>3.6.2</h2> | |
| 131 | <ul> | |
| 132 | <li>Minor bug fixes.</li> | |
| 133 | </ul> | |
| 134 | </div> | |
| 135 | <div id="build_386"> | |
| 136 | <h2>3.6.1</h2> | |
| 137 | <ul> | |
| 138 | <li>New double tap gesture on player to move forward or backward.</li> | |
| 139 | </ul> | |
| 140 | </div> | |
| 141 | <div id="build_382"> | |
| 142 | <h2>3.6.0</h2> | |
| 143 | <ul> | |
| 144 | <li>Add playback speed option in the video player.</li> | |
| 145 | </ul> | |
| 146 | </div> | |
| 147 | <div id="build_378"> | |
| 148 | <h2>3.5.1</h2> | |
| 149 | <ul> | |
| 150 | <li>Fix issue which could prevent new episode notifications from being delivered.</li> | |
| 151 | <li>Bug fixes.</li> | |
| 152 | </ul> | |
| 153 | </div> | |
| 154 | <div id="build_373"> | |
| 155 | <h2>3.5.0</h2> | |
| 156 | <ul> | |
| 157 | <li>Minor bug fixes.</li> | |
| 158 | </ul> | |
| 159 | </div> | |
| 160 | <div id="build_371"> | |
| 161 | <h2>3.4.0</h2> | |
| 162 | <ul> | |
| 163 | <li>You can add a show to your favorite list even when no episodes are available.</li> | |
| 164 | <li>Minor bug fixes.</li> | |
| 165 | </ul> | |
| 166 | </div> | |
| 167 | <div id="build_368"> | |
| 168 | <h2>3.3.0</h2> | |
| 169 | <ul> | |
| 170 | <li>Improve content presentation.</li> | |
| 171 | <li>Improve iOS 15 compatibility.</li> | |
| 172 | </ul> | |
| 173 | </div> | |
| 174 | <div id="build_363"> | |
| 175 | <h2>3.2.1</h2> | |
| 176 | <ul> | |
| 177 | <li>Minor bug fixes.</li> | |
| 178 | </ul> | |
| 179 | </div> | |
| 180 | <div id="build_362"> | |
| 181 | <h2>3.2.0</h2> | |
| 182 | <ul> | |
| 183 | <li>Playback can be resumed directly from the ‘Videos‘ homepage.</li> | |
| 184 | <li>Overall performance has been improved.</li> | |
| 185 | </ul> | |
| 186 | </div> | |
| 187 | <div id="build_361"> | |
| 188 | <h2>3.1.10</h2> | |
| 189 | <ul> | |
| 190 | <li>Minor bug fixes.</li> | |
| 191 | </ul> | |
| 192 | </div> | |
| 193 | <div id="build_359"> | |
| 194 | <h2>3.1.9</h2> | |
| 195 | <ul> | |
| 196 | <li>Minor bug fixes.</li> | |
| 197 | </ul> | |
| 198 | </div> | |
| 199 | <div id="build_357"> | |
| 200 | <h2>3.1.8</h2> | |
| 201 | <ul> | |
| 202 | <li>Playback can be controlled using an external keyboard.</li> | |
| 203 | </ul> | |
| 204 | </div> | |
| 205 | <div id="build_353"> | |
| 206 | <h2>3.1.7</h2> | |
| 207 | <ul> | |
| 208 | <li>Fix AirPlay instabilities, especially on older devices (Apple TV).</li> | |
| 209 | </ul> | |
| 210 | </div> | |
| 211 | <div id="build_352"> | |
| 212 | <h2>3.1.6</h2> | |
| 213 | <ul> | |
| 214 | <li>Minor bug fixes.</li> | |
| 215 | </ul> | |
| 216 | </div> | |
| 217 | <div id="build_350"> | |
| 218 | <h2>3.1.5</h2> | |
| 219 | <ul> | |
| 220 | <li>Minor bug fixes.</li> | |
| 221 | </ul> | |
| 222 | </div> | |
| 223 | <div id="build_346"> | |
| 224 | <h2>3.1.4</h2> | |
| 225 | <ul> | |
| 226 | <li>Improve iOS 14 compatibility for Google Cast.</li> | |
| 227 | <li>Fix playback incorrectly restarting in background without user interaction.</li> | |
| 228 | </ul> | |
| 229 | </div> | |
| 230 | <div id="build_343"> | |
| 231 | <h2>3.1.3</h2> | |
| 232 | <ul> | |
| 233 | <li>Improve iOS 14 compatibility.</li> | |
| 234 | </ul> | |
| 235 | </div> | |
| 236 | <div id="build_342"> | |
| 237 | <h2>3.1.2</h2> | |
| 238 | <ul> | |
| 239 | <li>Improve iOS 14 compatibility.</li> | |
| 240 | </ul> | |
| 241 | </div> | |
| 242 | <div id="build_341"> | |
| 243 | <h2>3.1.1</h2> | |
| 244 | <ul> | |
| 245 | <li>Fix screen incorrectly turning off when watching videos with sound over AirPlay.</li> | |
| 246 | </ul> | |
| 247 | </div> | |
| 248 | <div id="build_338"> | |
| 249 | <h2>3.1.0</h2> | |
| 250 | <ul> | |
| 251 | <li>Fixed an issue preventing the device from sleeping when playing a video in background.</li> | |
| 252 | </ul> | |
| 253 | </div> | |
| 254 | <div id="build_332"> | |
| 255 | <h2>3.0.2</h2> | |
| 256 | <ul> | |
| 257 | <li>Horizontal content navigation has been improved.</li> | |
| 258 | <li>The profile view has been consolidated on iPad.</li> | |
| 259 | </ul> | |
| 260 | </div> | |
| 261 | <div id="build_329"> | |
| 262 | <h2>3.0.1</h2> | |
| 263 | <ul> | |
| 264 | <li>Performance improvements.</li> | |
| 265 | <li>Fixes an issue preventing the first item in lists to be accessed with VoiceOver.</li> | |
| 266 | </ul> | |
| 267 | </div> | |
| 268 | <div id="build_326"> | |
| 269 | <h2>3.0.0</h2> | |
| 270 | <p>BOTTOM NAVIGATION</p> | |
| 271 | <p>Tab-based navigation provides for easier navigation throughout the content:</p> | |
| 272 | <ul> | |
| 273 | <li>Videos and TV shows are located under the ‘Videos’ tab.</li> | |
| 274 | <li>The search is accessible at any time through a dedicated ‘Search’ tab.</li> | |
| 275 | <li>Personalized features (history, favorites, notifications and downloads) and application settings are available from the ‘Profile’ tab.</li> | |
| 276 | </ul> | |
| 277 | <p>IMPROVEMENTS</p> | |
| 278 | <p>A few improvements have been made:</p> | |
| 279 | <ul> | |
| 280 | <li>Subtitle selection is more intuitive and better takes into account device settings.</li> | |
| 281 | <li>The mini player can be dismissed when not needed.</li> | |
| 282 | <li>Long-pressing items on devices running iOS 13 displays a preview and available actions.</li> | |
| 283 | <li>Presentation has been improved to better make use of the available screen space, no matter the chosen font size.</li> | |
| 284 | <li>Chromecast can be directly enabled with the dedicated button at the top of the videos, audios and livestreams homepages.</li> | |
| 285 | </ul> | |
| 286 | <p>FIXES</p> | |
| 287 | <p>The following issues reported by our users have been fixed:</p> | |
| 288 | <ul> | |
| 289 | <li>The subtitle choice is correctly preserved when enabling AirPlay.</li> | |
| 290 | <li>Playback is not paused anymore when using Handoff. This change fixes an issue affecting users having a Mac (running macOS Catalina) and iOS devices registered with the same Apple ID, and for which using Safari on macOS would trigger unexpected playback interruptions on iOS via Handoff.</li> | |
| 291 | </ul> | |
| 292 | </div> | |
| 293 | </body> | |
| 294 | </html> |