(s)
| 1212 | } |
| 1213 | |
| 1214 | function play_state_str(s) |
| 1215 | { |
| 1216 | if (s=="3") s="Playing"; |
| 1217 | if (s=="2") s="Paused"; |
| 1218 | if (s=="1") s="Stopped"; |
| 1219 | if (s=="0") s="Loading"; |
| 1220 | if (s=="10") s="Loading"; |
| 1221 | if (s=="9") s="Loading"; |
| 1222 | return s; |
| 1223 | } |
| 1224 | |
| 1225 | function smart_play_state() |
| 1226 | { |