How do I check if a video exists on YouTube, in client side

后端 未结 6 1909
攒了一身酷
攒了一身酷 2021-01-12 16:45

I am doing validation for my Youtube url text field.

I need to check, if the Youtube url does not exist I should throw error, I followed this answer an

6条回答
  •  自闭症患者
    2021-01-12 16:56

    From $.ajax docs:

    error

    Note: This handler is not called for cross-domain script and cross-domain JSONP requests.

提交回复
热议问题