The old method of using .xml files is about to be replaced with the new https://www.rijksbeeldbank.nl/ version that uses embed code.
I'm currently working on a 2.x version of this module that replaces the .xml file field for a textfield where the provided embed code can be pasted. The module code will then extract the video and subtitle URL's and keeps working the same way as much as possible.
An upgrade path must be provided.
Tijdens de overgang naar de Rijksbeeldbank blijft de huidige Mediatheek toegankelijk. Zodra de Rijksbeeldbank live is voor alle gebruikers, kun je in de Mediatheek alleen nog beelden bekijken en downloaden – uploaden is dan niet meer mogelijk.
Belangrijke data:
3 november: alle gebruikers krijgen de rol visitor in de Mediatheek (alleen lezen en downloaden).
18 november: de nieuwe Rijksbeeldbank gaat live!
Huidige gebruikers van de Mediatheek binnen de Rijksoverheid kunnen dan eenvoudig inloggen via Single Sign-On (SSO).
31 december: de oude Mediatheek gaat offline
Vanaf 18 november werken we met de Rijksbeeldbank – de nieuwe, centrale plek voor al onze foto’s, video’s, audio en graphics. Hier kun je veilig materiaal beheren, delen en publiceren.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | different_file_name.png | 85.21 KB | groendijk |
| #9 | Schermopname_10-12-2025_123942_acc.www_.coa_.nl_.jpeg | 244.64 KB | immoreel |
| #9 | Schermopname_10-12-2025_12467_www.rijksbeeldbank.nl_.jpeg | 103.78 KB | immoreel |
| #5 | UPGRADE-v2.0.md | 13.46 KB | johan den hollander |
Issue fork rijksvideo-3557361
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3557361-rijksbeeldbank-compatible-version
changes, plain diff MR !19
Comments
Comment #2
johan den hollander commentedComment #4
johan den hollander commentedI got this working for now with a site where I created some test media entities on xml basis first and then updated the module via the MR.
The module still needs a 2.x.0 branch. I think this must be provided by a maintainer?
Please review and improve!
We must also think about future versions where the now deprecated funtionality may be removed.
Take note: Ai assistance was used for writing most of the code.
Comment #5
johan den hollander commentedAdded https://www.drupal.org/files/issues/2025-11-12/UPGRADE-v2.0.md with a summary of the changes so far.
Comment #6
esmoves commentedWe are looking for embed code of a video from the Beeldbank. If you have an example, please share this. I think you have my drupal e-mail, or Fabian has it.
Comment #7
dripa commentedWe now have embed codes, but some files are not added to the embed code. The XML had more information about the files. There will be a new XML file available in the future. In the mean time we are working on a version where users can manually add the files without XML.
Comment #8
immoreel commentedOk for future reference here is an embed code:
Comment #9
immoreel commentedHi @dripa,
you say: "We now have embed codes, but some files are not added to the embed code", the version Johan made already takes care of that:
You can see the files listed in the beeldbank:

And the same files when the file is added to Drupal:

Comment #10
immoreel commentedAlso, "There will be a new XML file available in the future." that might take a while...
Comment #11
groendijk commentedLooks good with the embed code. Still a issue if a subtitle or other file has a different filename.
<iframe src="https://www.rovid.nl/videoplayer/index.html?v=bzk%2Fdoo%2F2025%2Fbzk-doo-20251201-idAnimatie+3_ABRO_NBIV_Onderzoek+aanvragen.mp4&p=bzk%2Fdoo%2F2025%2Fbzk-doo-20251201-idAnimatie+3_ABRO_NBIV_Onderzoek+aanvragen-still.jpg&s=bzk%2Fdoo%2F2025%2Fbzk-doo-20251201-idAnimatie_3_ABRO_NBIV_Onderzoek_aanvragen_V3_.vtt%7COndertiteling" width="560" height="315" frameborder="0" scrolling="no" allow="picture-in-picture;" allowfullscreen></iframe>Notice there is a `V3` in the url. Its good to notice the user if thats the case with something like: files not found. Copy them yourself.
Good to mention
video_sourcehas changed tovideo_url.Comment #12
dripa commentedI updated the MR with the following:
- Notice users if files can not be automatically added from the parsed iframe
- Added the file size of the video
- Keep the transcription URL, since it is still being used.
https://git.drupalcode.org/project/rijksvideo/-/merge_requests/22
Comment #13
dripa commentedMerged into 2.x and added release tag