Melanoma is a serious malignant form of skin cancer. Euphorbiaceae compound B (ECB, 2,4-dihydroxy-6-methoxy-3-methylacetophenone) is an acetophenone compound that is isolated from Euphorbia ebracteolata Hayata (EEH), an herbaceous perennial, and has antitumor activity. Here, we transplanted human melanoma cells into zebrafish embryos to establish a zebrafish/melanoma model. We showed that this model can be used to evaluate the therapeutic effect of EEH and ECB and discussed its potential mechanism of action. The results showed that ECB was an active ingredient of EEH in inhibiting melanoma-induced hyperplasia of blood vessels in zebrafish embryos, similar to the angiogenic inhibitor vatalanib. ECB inhibited the number and length of subintestinal veins (
p
<
0.05
), as well as the distribution of melanoma in zebrafish embryos (
p
<
0.05
). More importantly, unlike vatalanib, ECB only inhibited melanoma-induced abnormal and excessive growth of blood vessels in xenografts. In addition, ECB inhibited the mRNA expression of vegfr2 and vegfr3 in zebrafish. Both vegfr2 and vegfr3 are essential genes that regulate blood vessel formation and upregulate the expression of p53 and casp3a genes in zebrafish. Together, the above-mentioned results indicate that ECB has a potential antimelanoma effect in vivo, which may be mediated by inhibiting vascular endothelial growth factor receptors.