Skip to content

Conversation

@Shekhar0109
Copy link

git commit -m "#1182 Fix GoDAM Recorder links for WPForms

Summary:
This PR fixes the incorrect GoDAM Recorder links used in WPForms entry edit and view pages.
Previously, the recorder links were not being generated properly, causing broken or incorrect redirections.

Changes:

  • Updated wpforms-field-godam-record-entry-edit.php to include a working 'Open Recorder' button that correctly passes form_id, entry_id, and field_id in the query parameters.
  • Updated wpforms-field-godam-record-entry-view.php to replace the video link with the correct recorder URL generated via add_query_arg().
  • Ensured links now consistently point to:
    /godam-recorder/?form_id={FORM_ID}&entry_id={ENTRY_ID}&field_id={FIELD_ID}

Testing Steps:

  1. Open a WPForms entry containing the GoDAM Recorder field.
  2. On the Edit Entry page:
    • Verify that the new 'Open Recorder' button is visible when a video exists.
    • Clicking it should correctly open the recorder at /godam-recorder/ with the right query params.
  3. On the View Entry page:
    • The video link should now point to the recorder URL instead of the raw file URL.

Notes:

  • These changes apply only to WPForms integration.
  • Ninja Forms support is untouched and will be handled separately if required."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant