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.

Issue fork rijksvideo-3557361

Command icon 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:

Comments

johan den hollander created an issue. See original summary.

johan den hollander’s picture

Issue summary: View changes

johan den hollander’s picture

Assigned: johan den hollander » Unassigned
Issue summary: View changes
Status: Active » Needs review

I 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.

johan den hollander’s picture

StatusFileSize
new13.46 KB

Added https://www.drupal.org/files/issues/2025-11-12/UPGRADE-v2.0.md with a summary of the changes so far.

esmoves’s picture

We 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.

dripa’s picture

We 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.

immoreel’s picture

Ok for future reference here is an embed code:

<iframe src="https://www.rovid.nl/videoplayer/index.html?v=coa%2Fcrm%2F2025%2Fcoa-crm-20251021-idBig_Buck_Bunny_1080_10s_5MB-TEST.mp4&p=coa%2Fcrm%2F2025%2Fcoa-crm-20251021-id88560205-74e2-4992-a889-91b276833e20.jpg%22 width="560" height="315" frameborder="0" scrolling="no" allow="picture-in-picture;" allowfullscreen></iframe>
immoreel’s picture

Hi @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:
screenshot

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

immoreel’s picture

Also, "There will be a new XML file available in the future." that might take a while...

groendijk’s picture

StatusFileSize
new85.21 KB

Looks 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>

different filename

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_source has changed to video_url.

dripa’s picture

I 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

dripa’s picture

Status: Needs review » Fixed

Merged into 2.x and added release tag

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.