CDR Tickets

Issue Number 4614
Summary [DIS] Video display in Pub Preview
Created 2019-05-09 11:43:56
Issue Type Improvement
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2020-07-27 16:29:42
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.243904
Description

It looks like Pub Preview has not been modified yet to display embedded video for DIS documents. The following error message displays in PP for documents with embedded video.  This is not an urgent problem as we have not started including videos in live DISs yet but I think it would be good to fix the problem before then.  

 

The following error message is from QA. 

 
CDRPreview web service error: Xml data validation error,The 'VideoID' element is not declared.Validation error occurred when validating the instance document.,9,7

Comment entered 2019-06-06 16:33:59 by Englisch, Volker (NIH/NCI) [C]

It looks like this is a Gatekeeper DTD, CDR DTD and filter issue which means it's not release independent.  

would need to identify if this ticket should go in the Joule bucket or can wait for Leibniz.

Comment entered 2019-06-06 16:57:43 by Englisch, Volker (NIH/NCI) [C]

We will need to add the EmbeddedVideo element as a child to the Section element (sibling of Para, Table, etc.)

Comment entered 2019-10-14 17:54:02 by Osei-Poku, William (NIH/NCI) [C]

Osei-Poku, William (NIH/NCI) [C] would need to identify if this ticket should go in the Joule bucket or can wait for Leibniz.

This can wait for Leibniz.

Comment entered 2020-07-22 21:22:48 by Englisch, Volker (NIH/NCI) [C]

The DIS filters have been modified on DEV to allow videos to be displayed as part of the PublishPreview report.  I haven't confirmed this yet but I'm certain that those changes broke the QC reports which means I will need to make additional changes to fix those QC reports for DIS.

This is the list of filters that have been modified so far:

  • CDR271370.xml - Module: Vendor Filter Templates

  • CDR486313.xml - Denormalization Filter: DrugInfoSummary

  • CDR505580.xml - Vendor Filter: DrugInfoSummary

  • CDR797104.xml - Drug Information Summary for Drupal CMS

In addition, the filter set Vendor DrugInfoSummary Set has been modified to include the filter 

  • CDR800878.xml - Denormalization Filter: Video

Comment entered 2020-07-23 14:18:07 by Osei-Poku, William (NIH/NCI) [C]

Found to be a duplicate of this ticket.

Comment entered 2020-07-23 23:02:40 by Englisch, Volker (NIH/NCI) [C]

The two Drupal filters for summaries and DIS are using a number of identical templates, in particular those processing the EmbeddedVideo element.  I have created a new filter module to include these shared templates.  I included the new module in the DIS Drupal filter but not yet in the Summary Drupal filter. I don't really want to test all publishing for both document types at this time.  I will instead create a Maxwell ticket to make the necessary filter changes.

The following filter has been created:

  • CDR802090.xml - Module: Drupal CMS Filter Templates
    CDR801719 filter ID on DEV

Comment entered 2020-07-27 13:23:11 by Englisch, Volker (NIH/NCI) [C]

A sample document including a video has been published to the DEV server:
https://www-cms-dev.cancer.gov/about-cancer/treatment/drugs/abemaciclib

Comment entered 2020-07-27 16:29:31 by Englisch, Volker (NIH/NCI) [C]

I added the following filter to the filter set QC DrugInfoSummary Set (first filter in the set)

  • CDR800878.xml - Denormalization Filter: Video

In addition, the following filter has been modified to fix the display of video within the QC report:

  • CDR486311.xml - DrugInformationSummary QC Report Filter

This ticket is ready for review on DEV.

Comment entered 2020-07-27 16:31:03 by Englisch, Volker (NIH/NCI) [C]

For my information:

The pdqCG.dtd had to be modified to allow DIS documents to be published without validation errors.

Comment entered 2020-07-29 16:57:46 by Osei-Poku, William (NIH/NCI) [C]

I do not see the video on the above page.

Comment entered 2020-07-29 17:06:26 by Osei-Poku, William (NIH/NCI) [C]

It looks good in pub preview on DEV. I noticed that when running pub preview for DIS on both DEV and PROD, A placeholder message is displayed for several seconds before it changes to the pronunciation audio. It i really not a problem but certainly  not what we normally see so I just wanted to let you know about it. Here is a screenshot of the message:

Comment entered 2020-07-29 18:29:10 by Englisch, Volker (NIH/NCI) [C]

I don't know if the database had been refreshed or if the document had been updated when I was testing the markup.  I re-published the document and if you're quick enough you may be able to see the video when following the link. 🙂

Comment entered 2020-07-29 18:37:20 by Englisch, Volker (NIH/NCI) [C]

The delay of seeing the "Placeholder slot" before seeing the audio icon is nothing that's controlled in the CDR.  I did see the "Placeholder slot" on DEV for a few seconds the first time around but it was replaced within less than a second the second time I ran the PP report.  It was replaced much faster on PROD.

Comment entered 2020-07-29 19:25:33 by Osei-Poku, William (NIH/NCI) [C]

I am able to see it now. Thanks!

Comment entered 2020-07-29 22:18:25 by Osei-Poku, William (NIH/NCI) [C]

Yes, it is faster on PROD than it is on DEV. However, on PROD, the delay is enough for me to get a screenshot. In any case this is not a big deal and it doesn't affect pub preview in any way after all the content is loaded.

Comment entered 2020-07-31 20:04:00 by Englisch, Volker (NIH/NCI) [C]

I copied the filter changes to QA and ran diff reports for the DIS QC and vendor output.  The only differences identified were the added EmbededVideo element.

Comment entered 2020-08-03 16:07:09 by Osei-Poku, William (NIH/NCI) [C]

Looks good on QA. Thanks!

Comment entered 2020-08-07 20:50:02 by Englisch, Volker (NIH/NCI) [C]

The modified filters have been copied to STAGE and PROD.

A ticket has been submitted to CBIIT to update the DTD file "pdqCG.dtd".

Comment entered 2020-10-05 14:06:07 by Osei-Poku, William (NIH/NCI) [C]

According to Christina, it may take a while to publish a video to Cancer.gov since it will be included in a larger refresh of DISs as a whole. If you agree, we can close this ticket and reopen it if the need arises.

Comment entered 2020-10-05 15:19:24 by Englisch, Volker (NIH/NCI) [C]

I agree.  Let's close it and create a new ticket later if needed.

Attachments
File Name Posted User
placeholder.png 2020-07-29 17:06:02 Osei-Poku, William (NIH/NCI) [C]

Elapsed: 0:00:00.001520