-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
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
Video files (mp4) not being attached #500
Comments
What's the size of the video? Maybe it fails due to that? I also see other attachments missing from the log output. Does it make a difference if you put the mp4 in as the first attachement? |
fwiw, the ac:multimedia macro is available in mark 11.0.0 |
It's 14.5 MB - I've tried it on it's own and it still fails. I managed to use inline macro: <ac:structured-macro ac:name="multimedia"> To get video to work, but having it built in would be great. Thanks for the help. |
Can you try with a minimized example that only includes this and share the output of mark with
|
2024-09-12 07:35:05.895 TRACE including template "ac:multimedia" Looks like a bug in the macro? I'm using the docker image via CI CD deploy_job: deploy.sh for file in $(find -type f -name '.md'); do While I'm here, is there a way to exclude a markdown file from being _mark_ed? Like the disclaimer include I have shouldn't be uploaded as a page. |
Yes, there was a bug in the macro, I fixed it in 11.0.1. Please test again with that version. If you want to exclude the file, the best is do to it in your for loop above that you use to feed into mark. |
…d in subfolders - Might also address kovetskiy#500
What happened?
Here's my markdown:
What did you expect to happen?
See the mp4 file attached to the page
How can we reproduce the behavior you experienced?
Steps to reproduce the behavior:
<!-- Attachment: img/....mp4 -->
In case this is related to specific markdown, please provide a minimal markdown example here.
Further Information (please complete the following information)
Mark Version (
mark --version
): [e.g. v9.1.4]Mark Parameters: mark -p $PERSONAL_ACCESS_TOKEN -b https://***.org --h1_title --drop-h1 --ci --space EDPC --parents "nnn/nnn" -f $file --debug || exit 1;
Confluence Hosting: Datacenter
Confluence Version: v8.5.14 (confluence-0: 4316361a
Environment specific Information: GitLab runner
Logs or other output
Additional context
If anyone could tell me how to also make the macro:
<ac:structured-macro ac:name="multimedia" ac:schema-version="1" ac:macro-id="d7e1234">
<ac:parameter ac:name="file">EventStorming.mp4</ac:parameter>
<ac:parameter ac:name="width">100%</ac:parameter>
<ac:parameter ac:name="autoplay">true</ac:parameter>
</ac:structured-macro>
Work too and ignore the include markdown - ../../../disclaimer.md .
The text was updated successfully, but these errors were encountered: