diff --git a/dashboard-ui/scripts/mediaplayer.js b/dashboard-ui/scripts/mediaplayer.js index bbc6ccd220..4c17f0373a 100644 --- a/dashboard-ui/scripts/mediaplayer.js +++ b/dashboard-ui/scripts/mediaplayer.js @@ -152,6 +152,16 @@ define(['appSettings', 'userSettings', 'appStorage'], function (appSettings, use }] }); + profile.TranscodingProfiles.filter(function (p) { + + return p.Type == 'Video' && p.CopyTimestamps == true; + + }).forEach(function (p) { + + // Vlc doesn't seem to handle this well + p.CopyTimestamps = false; + }); + profile.TranscodingProfiles.filter(function (p) { return p.Type == 'Video' && p.VideoCodec == 'h264'; @@ -746,12 +756,8 @@ define(['appSettings', 'userSettings', 'appStorage'], function (appSettings, use } else { - // Reports of stuttering with h264 stream copy in IE - if (mediaUrl.indexOf('.mkv') == -1) { - mediaUrl += '&EnableAutoStreamCopy=false'; - } - if (mediaUrl.toLowerCase().indexOf('copytimestamps=true') == -1) { + startPositionInSeekParam = 0; startTimeTicksOffset = startPosition || 0; }