Update two with var_dump of $media custom field
object(stdClass)#2173 (33)
["id"]=> int(8)
["title"]=> string(14) "External Media"
["name"]=> string(14) "external-media"
["checked_out"]=> NULL
["checked_out_time"]=> NULL
["note"]=> string(0) ""
["state"]=> int(1)
["access"]=> int(1)
["created_time"]=> string(19) "2022-04-08 11:18:06
["created_user_id"]=> int(385)
["ordering"]=> int(0)
["language"]=> string(1) "*"
["fieldparams"]=>
object(Joomla\Registry\Registry)#1563 (3) {
["data":protected]=> object(stdClass)#1556 (4) {
["iframeheight"]=> string(4) "100%"
["iframescrolling"]=> string(4) "auto"
["iframeasync"]=> string(1) "1"
["iframeparams"]=> string(23) "allowfullscreen loading"
}
["initialized":protected]=> bool(true)
["separator":protected]=> string(1) "."
}
["params"]=> object(Joomla\Registry\Registry)#1561 (3) {
["data":protected]=> object(stdClass)#1554 (12) {
["hint"]=> string(0) ""
["class"]=> string(0) ""
["label_class"]=> string(0) ""
["show_on"]=> string(1) "2"
["render_class"]=> string(0) ""
["value_render_class"]=> string(0) ""
["showlabel"]=> string(1) "0"
["label_render_class"]=> string(0) ""
["display"]=> string(1) "0"
["layout"]=> string(0) ""
["display_readonly"]=> string(1) "1"
["rules"]=> array(1) {
[0]=> object(stdClass)#1553 (3) {
["matching_method"]=> string(3) "all"
["enabled"]=> string(1) "1"
["rules"]=> array(1) {
[0]=> object(stdClass)#1552 (2) {
["name"]=> string(0) ""
["enabled"]=> string(1) "1"
}
}
}
}
}
["initialized":protected]=> bool(true)
["separator":protected]=> string(1) "."
}
["type"]=> string(9) "acfiframe"
["default_value"]=> string(0) ""
["context"]=> string(19) "com_content.article"
["group_id"]=> int(0)
["label"]=> string(14) "External Media"
["description"]=> string(68) "Use this field to embed audio and video media from external websites"
["required"]=> int(0)
["only_use_in_subform"]=> int(0)
["language_title"]=> NULL
["language_image"]=> NULL
["editor"]=> NULL
["access_level"]=> string(6) "Public"
["author_name"]=> string(12) "Mike Hermary"
["group_title"]=> NULL
["group_access"]=> NULL
["group_state"]=> NULL
["group_note"]=> NULL
["value"]=> string(42) " "
["rawvalue"]=> string(0) ""
}