We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
with TYPO3 11.5.19 and vhs 6.1.2, i determine an error with v:media.video I get the error unknown type ""
v:media.video
In file /Classes/ViewHelpers/Media/VideoViewHelper.php in line 135 you have to make following change to make it work.
$src = mb_substr(GeneralUtility::getFileAbsFileName(ltrim($source,"/")), mb_strlen(CoreUtility::getSitePath()));
Original line:
$src = mb_substr(GeneralUtility::getFileAbsFileName($source), mb_strlen(CoreUtility::getSitePath()));
You have to remove the leading "/" in the source string. On the other hand, you get an empty string from getFileAbsFileName and the type is "" (empty)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
with TYPO3 11.5.19 and vhs 6.1.2, i determine an error with
v:media.video
I get the error unknown type ""
In file /Classes/ViewHelpers/Media/VideoViewHelper.php in line 135 you have to make following change to make it work.
$src = mb_substr(GeneralUtility::getFileAbsFileName(ltrim($source,"/")), mb_strlen(CoreUtility::getSitePath()));
Original line:
$src = mb_substr(GeneralUtility::getFileAbsFileName($source), mb_strlen(CoreUtility::getSitePath()));
You have to remove the leading "/" in the source string. On the other hand, you get an empty string from getFileAbsFileName and the type is "" (empty)
The text was updated successfully, but these errors were encountered: