GridStream Webplayer 5.3

A place to discuss tuning in, stream issues or questions about the website or forums.

Moderators: Gridfan, Xtrophic, Station Managers

GridStream Webplayer 5.3

Postby Gridfan » Sat Jun 27, 2015 6:09 pm

GridStream Webplayer™ is a custom player created for the purpose of easily tuning in to GridStream Productions™ Internet Radio channels. It is very minimalistic, simple to use (hopefully), and has a few GridStream specific features that can enhance your enjoyment of tuning in. It is basically just a play button.

Using it is very simple, just go to the GridStream Tune In page at player.gridstream.org, and there it is. No installation, no Java or Flash or odd plugins needed. Our Webplayer leverages the latest in Web Audio technology.

You need a modern browser to be able to fully make use of player.gridstream.org see the post below for details on which browser has full support for the Webplayer.

webplayer.png
User avatar
Gridfan
Gridstream Developer
 
Posts: 4918
Joined: Wed Jul 31, 2002 11:39 pm
Location: Trondheim, Norway

Additional Information

Postby Gridfan » Sat Jun 27, 2015 6:11 pm

If a browser is missing or the info is wrong, then please make a post in the tech forum and the list will be updated/fixed.

Please note that while the Webplayer itself might work, the stream itself may or may not work depending on a few factors. The Webplayer have been tested on various browsers, trying to connect to a SHOUTcast v1 server with a AAC+ stream.

Works on these browsers (tested):
  • Chrome (v40 and later)
  • Firefox (v45 and later)
  • Opera (v42 and later)
  • Microsoft Edge
  • Vivaldi (v1 and later)

Does not work on these browsers (tested):
  • Anarchy Online in-game browser (Awesomium)
  • Firefox (v44 and earlier), player works but not with AAC(+) streams
  • Internet Explorer (Trident engine), looks ok in IE11 but does not play.
  • The Secret World in-game browser (Awesomium)

Not tested on these browsers:
  • Safari (should work fine on latest versions)
User avatar
Gridfan
Gridstream Developer
 
Posts: 4918
Joined: Wed Jul 31, 2002 11:39 pm
Location: Trondheim, Norway

GridStream Webplayer Changes

Postby Gridfan » Sat Jan 14, 2017 10:53 am

v5.3 2017-08-20:
  • Tweaked the CSS some. Now the 9th history line is not cut off on mobile.
  • Twitter widget iframe not cut off any more.
  • Changed the radio emoji on the left of the GridStream name to the GridStream cogwheel star instead.
  • Fixed a potential bug with showing artist names.
  • Redid the fetching of song data from the GSP server, it's now way better implemented and robust against temporary server glitches.

v5.2 2017-07-31:
  • Fixed a CSS bug, and the location info when it's available is now centered.
  • Made the fallback artist circle letters slightly smaller.
  • Added background color to history line icons, and centered the icons within their new color boxes.
  • Made the fallback artist box square, made it two lines with emoji on first line and text on second.
  • Re-arranged the code some, added some extra failure checks.
  • Fixed a bias in procedurally generated artist name background color algorithm, colors should be more varied now.
  • Added a pixel wide border around icon boxes. And added a edge around all text to make the text look sharper.

v5.1 2017-07-03:
  • Removed some left over code from 4.1 that was no longer needed.
  • Added automatic AO, TSW, SWL icons/logos for the location text.
  • Some browsers on mobiles try to be helpfull and boost the size of text, added a tweak that hopefully mitgate this.
  • Added GSP logos for current track and colored circles for artists if there is no artist artwork.

v5.0 2017-07-01:
  • Player redesigned to use advanced scaling, requires a modern browser.
  • Changed to using textContent as older versions of Firefox do not support innerText.
  • Changed the way the player is launched.
  • The first time the player is launched or if a new version is loaded a list of latest changes are shown.
  • The player is launched the first time it is loaded by clicking the Launch Player button (reset on each update).
  • The following times the player is loaded from the browser cache and the welcome message and version changes are not shown nor is there a need to launch the player as it is already launched/pre-loaded by the browser cache.

v4.1 2017-06-15:
  • Added support for Web notifications. A new button has been added to toggle this.
  • Minor code tweaks.
  • Removed a leftover html tag.

v4.0 2017-06-06:
  • The location info got stuck on the previous show location info instead of being set blank when there is a playlist.
  • Webplayer page title now shows the current song name.
  • A more advanced streaminfo standard have been created and has replaced the old streamtitle standard.
  • Added mediasession notification support for better display of info on mobiles (Chrome/Firefox).
  • Player now loads up with the current song history if provided by the server.
  • Multiple stream servers supported with automatic cycling in case of reconnects.
  • Stream server IDs and status info (stream is up or down) is supported.
  • Duration of songs in the song history are calculated and displayed when available.
  • Tweet image and StreamLicensing seal no longer embed. Tweet image only loads if Twitter frame is enabled.
  • The ugly StreamLicensing seal has been moved to the very bottom of the page.
  • IRC directory link removed, it did not really belong in the player.
  • Redesigned the player, should be more mobile friendly now.
  • Added volume buttons, the selected volume is saved.
  • History list is now 10 including the current track.
  • Fixed a issue where IE11 would spam the server when unable to play the stream, which is always the case with a AAC(+) steam.
  • Player prettied up a little with Emoji, colors and style may vary between browsers.
  • The player recognises special GSP titles, different Emojis are shown when these are detected.
  • The player recognises if there is a playlist or a live show, a playlist gets a list Emoji and a live show get two bunny girls Emoji, because.
  • Request form integrated into the player instead of residing in a iframe.
  • Show song artwork for GSP SWEEP etc, and a generic for artists. (dropped for now, emojis used instead)

v3.1 2017-01-14:
  • Just a version bump to indicate the Webplayer is working on Chrome 55+ and Opera.

v3.0 2016-03-21:
  • Redesigned the player so that it scales better with various display sizes than previously.
  • The browser now remembers if the REQUEST or TWITTER panels are shown or not next time you use the player.
  • Removed Twitter panel header and footer.
  • Added "Tweet @Gridstream" and "Follow" buttons for Twitter panel.
  • Re-arranged various UI elements.

v2.1 2015-07-29:
  • Changed the player test to match the stream type being used.
  • Created high resolution icons that will be used if you Pin the Webplayer to the taskbar or desktop as a web app.
  • Adjusted the height of the song history (Firefox showed scrollbars too early).
  • Changed the info text a little.

v2.0 2015-07-22:
  • The player is now able to reconnect in case there are stream or decoding issues.
  • The current state of the player is now shown where the playtime can be seen.
  • Added a Universal Time clock.
  • Changed the text/wording a little.
  • Lots of various tweaks to the player.
  • Tweaked the colors some.

v1.5 2015-07-12:
  • Some minor tweaks.
  • Will now inform about the stream being down, if that should happen.

v1.4 2015-07-03:
  • Some minor tweaks.
  • Should now work with Microsoft Edge (project Spartan) browser.

v1.3 2015-07-01:
  • Some minor tweaks.
  • And optional Twitter feed.

v1.2 2015-06-29:
  • Improved the detection of HTML5 audio support (or the lack of it). Song info should now also work on old browsers that do not handle HTML5 Audio. (TSW/AO in-game browser, old mobiles/tablets)

v1.1 2015-06-28:
  • Some may have had buffering issues if they pressed play and pause and play again, causing a large timeshift to occur. Now pressing Play creates the player anew and Pause tears it down fully.
  • Plus some minor tweaks.

v1.0 2015-06-27:
  • First release.
User avatar
Gridfan
Gridstream Developer
 
Posts: 4918
Joined: Wed Jul 31, 2002 11:39 pm
Location: Trondheim, Norway

GridStream Webplayer 4.0 Update

Postby Gridfan » Tue Jun 06, 2017 2:04 pm

A new version of the Webplayer is now available. It should update automatically, but if your browser cache is still holding on to the old v3 player then hold the Ctrl key and press the reload button. (or Hold Ctrl and press F5) that should refresh the cache.

The new player should hopefully look better on mobiles. And it's got a few new cool features. Look at the 2nd post in this thread for a full list of changes.
User avatar
Gridfan
Gridstream Developer
 
Posts: 4918
Joined: Wed Jul 31, 2002 11:39 pm
Location: Trondheim, Norway

Re: GridStream Webplayer 4.0

Postby Kista » Thu Jun 08, 2017 7:29 pm

Just checked my Kindle (Fire OS 4.5.5.2) running Silk Web browser and I must say, Well done! The new format looks great, easy to scroll and best of all, when I press Play, it plays!!!

Was a little bummed when "tune in" no longer streamed gsp, but this new webplayer is better, even the volume controls work.
No Bounce......No Play - SK, Dreamcatcher
Kista
 
Posts: 67
Joined: Mon Mar 01, 2004 2:27 am
Location: Wolf Pack HQ

Re: GridStream Webplayer 4.1

Postby Gridfan » Thu Jun 15, 2017 1:46 am

v4.1 2017-06-15:
  • Added support for Web notifications. A new button has been added to toggle this.
  • Minor code tweaks.
  • Removed a leftover html tag.

Notifications will only work if web notification is enabled. When toggling it on for the first time the browser will ask for permission to show notifications for player.gridstream.org with the Edge browser you may also need to go into system settings and enable them, Edge will guide you to that setting. Other browsers may require you to go into the preferences of the browser if this feature is disabled.

The only notifications currently performed are when the showname/stream name changes. Things like location change, song change or errors are not notified, the webplayer will not bother you that often.

Please note that with Chrome 60 to be released in August this notification feature will no longer work over the http protocol. It will work over the https protocol but player.gridstream.org does not have https currently.
User avatar
Gridfan
Gridstream Developer
 
Posts: 4918
Joined: Wed Jul 31, 2002 11:39 pm
Location: Trondheim, Norway

GridStream Webplayer 5.0

Postby Gridfan » Sat Jul 01, 2017 2:44 pm

v5.0 2017-07-01:
  • Player redesigned to use advanced scaling, requires a modern browser.
  • Changed to using textContent as older versions of Firefox do not support innerText.
  • Changed the way the player is launched.
  • The first time the player is launched or if a new version is loaded a list of latest changes are shown.
  • The player is launched the first time it is loaded by clicking the Launch Player button (reset on each update).
  • The following times the player is loaded from the browser cache and the welcome message and version changes are not shown nor is there a need to launch the player as it is already launched/pre-loaded by the browser cache.

The way the design/layout works has been changed. It will most likely break in older browsers. Then again, most older browsers can't play the stream anyway. If your browser version is less than 4 years old things "should" work fine.

The key difference with the v5 design over the v4 design of the player is that now the player will scale to any screen resolution/size. You want the player larger then make the window larger. You want the player smaller then make the window smaller.
A new launch page is now shown the first time/each time a new version of the player is available. This makes use of a cookie. There is no way to avoid this currently due to severe limitations/restrictions with the royalty service that GSP uses. The web player and the desktop player or the stream.m3u file must be launched or downloaded while their domain is displayed in the browser address bar. After the launch or download this is no longer a requirement.

(There is no practical technical reason for this requirement, it's just legalese nonsense that somebody non-technical thought was a good idea (it's not). GSP royalties are paid regardless of how/where people tune in anyway.)
User avatar
Gridfan
Gridstream Developer
 
Posts: 4918
Joined: Wed Jul 31, 2002 11:39 pm
Location: Trondheim, Norway

GridStream Webplayer 5.1

Postby Gridfan » Sun Jul 02, 2017 11:43 pm

v5.1 2017-07-03:
  • Removed some left over code from 4.1 that was no longer needed.
  • Added automatic AO, TSW, SWL icons/logos for the location text.
  • Some browsers on mobiles try to be helpful and boost the size of text, added a tweak that hopefully mitigate this.
  • Added GSP logos for current track and colored circles for artists if there is no artist artwork.


The only artwork so far is for GSP TALK LIVE, GSP PSA, GSP PROMO, GSP SWEEP and GSP MUSIC.

The GSP MUSIC artwork is a backup for regular artist artwork, however it's currently unused.

Artists artwork fallback is currently a circle with with the first three uppercase characters or numbers in the artist name.
The color of the circle is derived from the artist name, so the same artist will get the same color each time.

The GSP artwork may be temporary, it was just something I threw together quickly. Others in GSP may wish to take a stab at making better GSP artowork.


The artist artwork is a planned feature, the issue here is that GSP can't very well get the artist/album art of all artists/bands in the world and store them on our server (technically we could but there isn't enough diskspace on player.gridstream.org to do that).
Other issues are hotlinking by other websites or players as static filenames for artist artwork would quickly get misused.
So this requires some planning, there are services out there that can provide artwork that we could leverage.

Another issue is that that artwork will put a greater load on the bandwidth of listeners.
The GSP artwork are just 5 images around 3KB, and the browser will cache them so this is not an issue.
But artist artwork is a larger problem, the browser cache would quickly get filled unless caching is prevented but that would gobble up bandwidth.


There are also AO, TSW and SWL artwork added, so when a DJ uses (TSW) (AO) (SWL) in the location info then the webplayer will use the appropriate game logo.
Unless any bugs or weird browser behavior rears it's head this will b e the last version of the webplayer for a while. I got all I wanted done actually and then some.
User avatar
Gridfan
Gridstream Developer
 
Posts: 4918
Joined: Wed Jul 31, 2002 11:39 pm
Location: Trondheim, Norway

GridStream Webplayer 5.2 update.

Postby Gridfan » Mon Jul 31, 2017 3:54 am

v5.2 2017-07-31:
  • Fixed a CSS bug, and the location info when it's available is now centered.
  • Made the fallback artist circle letters slightly smaller.
  • Added background color to history line icons, and centered the icons within their new color boxes.
  • Made the fallback artist box square, made it two lines with emoji on first line and text on second.
  • Re-arranged the code some, added some extra failure checks.
  • Fixed a bias in procedurally generated artist name background color algorithm, colors should be more varied now.
  • Added a pixel wide border around icon boxes. And added a edge around all text to make the text look sharper.
User avatar
Gridfan
Gridstream Developer
 
Posts: 4918
Joined: Wed Jul 31, 2002 11:39 pm
Location: Trondheim, Norway

Re: GridStream Webplayer 5.2

Postby Gridfan » Sat Aug 12, 2017 1:22 pm

Fixed a few layout issues, no functionality was changed. A new version/update of the player is planned and these changes will be part of that and listed in the changes list for that version instead.

You may need to reload the webplayer to see the layout tweaks.

If you are wondering what was changes though, some font size/scaling to make sure the 9th line in the history did not get cut off on mobiles. Twitter widget iframe had it's width changed so it's no longer cutoff; the twitter widget scales really weird on mobile vs desktop and there is little I can do about that (it's Twitter's code). The twitter widget may be replaced with something custom or removed in a future version of the player, this has not be fully decided on yet though.
User avatar
Gridfan
Gridstream Developer
 
Posts: 4918
Joined: Wed Jul 31, 2002 11:39 pm
Location: Trondheim, Norway

GridStream Webplayer 5.3 update

Postby Gridfan » Sun Aug 20, 2017 6:58 am

v5.3 2017-08-20:
  • Tweaked the CSS some. Now the 9th history line is not cut off on mobile.
  • Twitter widget iframe not cut off any more.
  • Changed the radio emoji on the left of the GridStream name to the GridStream cogwheel star instead.
  • Fixed a potential bug with showing artist names.
  • Redid the fetching of song data from the GSP server, it's now way better implemented and robust against temporary server glitches.
User avatar
Gridfan
Gridstream Developer
 
Posts: 4918
Joined: Wed Jul 31, 2002 11:39 pm
Location: Trondheim, Norway


Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron