AJAX error pn_msv_ajax_url not defined
-
Hi I’m trying to embed music players via a custom field and shortcode. The field returns the file URL correctly and the plugin embeds but I get the following error in the console.
Uncaught ReferenceError: pn_msv_ajax_url is not defined
Shortcode call looks like this:
$id = $product->get_id(); $score = get_field('music_score_file'); //returns file url as string if ($score) { echo do_shortcode('[pn_msv file="' . $score . '"/]'); } else { echo "No score file found"; }
Hope you can help.
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘AJAX error pn_msv_ajax_url not defined’ is closed to new replies.