Your question contains the following formulas:
$\hat\beta_1=\text{Cov}(x,y)/\text{Var}(x)$
$\hat\beta_1=\bar{x}\bar{y} - \overline{xy} / (\bar{x})^2-\overline{x^2}$
(or rather the question contained that until someone edited it to match the video, thus obscuring what I believe was likely the OP's original problem)
That second formula is incorrectly transcribed.
The formula given in the video is $\frac{\bar{x}\bar{y} - \overline{xy}}{(\bar{x})^2-\overline{x^2}}$, which is not the same as what you wrote.
Following order of operations, your formula corresponds to
$\bar{x}\bar{y} - [\overline{xy} / (\bar{x})^2]-\overline{x^2}$.
The correct way to write it "in line" would be: $[\bar{x}\bar{y} - \overline{xy}] / [(\bar{x})^2-\overline{x^2}]$.
So that's at least one source of potential problem.
If you do them both right, they give the same answer (up to rounding).
That correct version of the second form from the video is weird, because it flips the numerator and denominator about from the usual covariance/variance form, making it a ratio of two negative quantities. It's still right, but likely to be more confusing, and more likely to generate errors from dropped signs.
Here's an example showing the same (correct) result for both
Example (this is 8 random rows from the 'cars' data set in R - the first column displayed below contains the row numbers, which you can ignore):
speed dist
(x) (y)
34 18 76
6 9 10
35 18 84
40 20 48
12 12 14
15 12 28
48 24 93
36 19 36
1:
Var(x) = 25.14286
Cov(x,y) = 133.0714
Cov(x,y)/Var(x) = 5.293
2:
xbar = 16.5
ybar = 48.625
xybar = 918.75
x2bar = 294.25
[xbar.ybar - xybar]/[xbar^2 - x2bar] = 5.293