Move some video-cast-related inline js to an external file

master
jvoisin 6 years ago
parent 10e90beb30
commit cf1f86f226
  1. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/videoPlayer.jsp
  2. 3
      airsonic-main/src/main/webapp/script/videoPlayerCast.js

@ -8,7 +8,7 @@
<script type="text/javascript" src="<c:url value="/dwr/engine.js"/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/interface/starService.js"/>"></script>
<script type="text/javascript" src="<c:url value="/script/cast_sender-v1.js"/>"></script>
<%@ include file="videoPlayerCast.jsp" %>
<script type="text/javascript" src="<c:url value="/script/videoPlayerCast.js"/>"></script>
<script type="text/javascript" language="javascript">
function toggleStar(mediaFileId, imageId) {

@ -1,5 +1,3 @@
<script type="text/javascript">
(function () {
'use strict';
@ -692,4 +690,3 @@
window.CastPlayer = CastPlayer;
})();
</script>
Loading…
Cancel
Save