Skip to content

Commit

Permalink
Streaming from channel 1, not 2 now. Removed some unrequired code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jjaburke91 committed Sep 7, 2017
1 parent 3b2c996 commit b5f6fa9
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 25 deletions.
2 changes: 1 addition & 1 deletion client.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function setupRadioPlayer() {
if (radioIsPlaying) return;

let time = new Date();
audioElement.src = "http://stream-relay-geo.ntslive.net/stream2?t=" + time.valueOf() ;
audioElement.src = "http://stream-relay-geo.ntslive.net/stream?t=" + time.valueOf() ;
audioElement.play();
$audioIcon.addClass("fa-stop").removeClass('fa-play');

Expand Down
2 changes: 1 addition & 1 deletion public/css/style.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/css/style.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/app.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/app.min.js.map

Large diffs are not rendered by default.

17 changes: 0 additions & 17 deletions react/RadioPlayerMobile/RadioPlayerMobile.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
const React = require('react');
const ReactDOM = require('react-dom');
const {connect} = require('react-redux');

const actions = require('../PhotoGallery/photoGalleryActions.js');

class RadioPlayerMobile extends React.Component {
constructor(props) {
Expand All @@ -11,14 +8,6 @@ class RadioPlayerMobile extends React.Component {
this.state = {}
}

componentDidMount() {
// console.log("Mounting mobile radio player.");
}

componentWillUnmount() {

}

render() {
return (
<div id="radio-player-mobile" className=''>
Expand All @@ -42,12 +31,6 @@ class RadioPlayerMobile extends React.Component {
<div id="header__radio-player__handler--mobile" className="header__radio-player__handler hidden">
<i id="radio-handler-icon-mobile" className="radio-handler-icon fa fa-play header-fuzzy-text header-fuzzy-text--dark"
aria-hidden="true"> </i>
{/*<span style={{display: 'none', visibility: 'hidden'}}>*/}
{/*<audio id="nts-player-audio"*/}
{/*controls preload="none" type="audio/mpeg"*/}
{/*src=""*/}
{/*> </audio>*/}
{/*</span>*/}
</div>

<div className="header__radio-player__text primary-font">
Expand Down
3 changes: 0 additions & 3 deletions style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ $header-padding: 5px;
overflow: auto;
text-transform: uppercase;

//background: linear-gradient(to bottom, rgba(255,255,255,1), rgba(255,255,255,0));
//background: rgba(255,255,255,1);

z-index: 10;
}
.header__left {
Expand Down

0 comments on commit b5f6fa9

Please sign in to comment.