From 259c4b3f69c5e9d6701127a4278fc623366dd2cd Mon Sep 17 00:00:00 2001 From: dularion Date: Sat, 2 Jan 2016 20:55:33 +0100 Subject: [PATCH] I can't add video files to the player #107 (for files that are too large) --- grails-app/services/streama/FileService.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grails-app/services/streama/FileService.groovy b/grails-app/services/streama/FileService.groovy index 5f7484348..501e0e1cf 100644 --- a/grails-app/services/streama/FileService.groovy +++ b/grails-app/services/streama/FileService.groovy @@ -14,7 +14,7 @@ class FileService { def fileLength = rawFile.length() def contentLength = rawFile.length().toString() - def rangeEnd = fileLength.toInteger()-1 + def rangeEnd = fileLength.toLong()-1 def rangeStart