DS928
asked on
Syntax Error
I'm getting a syntax error on this line....
<script type="text/javascript">baseUrl = '{$url}'; token_id = '{$token_id}'; nowPlaying = viewed_id = 0; player_volume = {$volume};</script>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Doesn't work.....
Try.. Separate out nowPlaying & viewed_id ..
<script type="text/javascript">
baseUrl = '{$url}'; token_id = '{$token_id}'; nowPlaying = 0; viewed_id = 0; player_volume = '{$volume}';
</script>
<script type="text/javascript">
baseUrl = '{$url}'; token_id = '{$token_id}'; nowPlaying = 0; viewed_id = 0; player_volume = '{$volume}';
</script>
Can you post the full error
ASKER
Works great. Thank you..
<script type="text/javascript">
baseUrl = '{$url}'; token_id = '{$token_id}'; nowPlaying = 0; viewed_id = 0; player_volume = {$volume};
</script>